yashsingh1/xdaforums huggingface dataset:
[Essential Phone Questions & Answers] firefly6240:
Android is similar to mainstream linux operating systems in that the ROM is like the OS portion of a linux distro.

the Kernel is the portion that interfaces between the OS and the hardware.

Pretty much all Roms (there may be exceptions but I cant think of any) come prepackaged with a kernel as well.

so installing the ROM will install the kernel automatically and has the benefit of installing the kernel the developer intended.

There are separate Kernels available that have specific features you may prefer. (overclocking for CPU/GPU, specific modules loaded for emulation if running a linux distro within android etc.)

to install them you would install the rom (And its default kernel) then flash the kernel of your preference over it.

If you are just starting out I would just install the Rom and its default kernel unless you have a very specific use case.

hopefully that helps :)

There are often more pieces as well due to proprietary code:

ROM - the OS itself often either based on AOSP, the manufacturer software or Lineage (or a mix)

Kernel - refers to the open source linux kernel that controls hardware that it supports.

Firmware - includes manufacturer proprietary code for hardware that is not open source.

Modem - includes proprietary code for modem hardware.

it breaks down further but generally you will start with a stick manufacturer installation including all parts.

then you can flash a custom rom and kernel (Usally as a complete package)

Modem and firmware updates would still come from the manufacturer. (Most roms will tell you if a specific firmware or modem is needed, the modem usually doesnt matter as much anymore but in the early years it was important)
[Essential Phone Questions & Answers] Zen00:
Thanks for the information!
[Huawei P9 Lite Questions & Answers] toto6976:
hello, i have a P9 lite from 2016 + twrp. how do i install an update 'update.zip'?
[Huawei P9 Lite Questions & Answers] Dadditz:
Hello dude, :)

sorry but you should post more info about your device...

What is your complete firmware ? ( settings > device info... example VNS-L31C432B381 )

Which update would you like to do ? A simple update of your firmware ?

Which TWRP version do you have ?
[Huawei P9 Lite Questions & Answers] toto6976:
Twrp Elite 3.2.1-0

The firmware is not original. I installed the C432B414 a while ago but I don't know how ...

The proposed update weighs 2 GB. it's the C432B418-Full.

EMUI 5.0.3. Android 7

I don't know the difference between a simple update or a firmware update. I would only like to install the proposed 'update.zip' file.
[Huawei P9 Lite Questions & Answers] Dadditz:
Mmm, does not original firmware mean ?

You didn't said but i bet your device is L31, isn't it ?

Updates won't install via TWRP and "only" update.zip, you must use HuRUpdater...

Are your firmware 100% working ? If yes, i suggest to use

TWRP 3.1.1-1 by HassanMirza01 then to follow the procedure

in the HuRUpdater appropriate thread.

That's it. If you need some further info just tell.

Cheers ;)
[Huawei P9 Lite Questions & Answers] toto6976:
Yes, it's L31.

Hello,

I think I already have the TWRP version of HassanMirza installed. I will check this morning.

The firmware is not original indeed. This is an update that I had installed. In the meantime, I have lost the bootloader unlock code. Do you know if there is a way to retrieve it from the mobile since it is currently unlocked?
[Huawei P9 Lite Questions & Answers] toto6976:
Hello,

How do I replace my current TWRP with that of HassanMirza? I put it on SD card and I flash it?

If it doesn't work, what will happen?

Brick?
[Huawei P9 Lite Questions & Answers] toto6976:
I'm going to do a 'nandroid backup'. Via adb, is it possible? with the command 'adb backup --twrp'?
[Huawei P9 Lite Questions & Answers] Dadditz:
Heyho :)

3.2.1-0 TWRP have some issues and it's not guaranteed it will 100% work,

that's because i suggested you to install 3.1.1-1 version...

I don't know how to retrieve the code, maybe you'll need to pay 4€

and use DC unlocker to read it again... :D

If you will use HuRUpdater and ( suggested ) keep the TWRP,

your bootloader will not be re-locked.

Your current TWRP can be replaced flashing it into the recovery.

How to do it ? Place the TWRP into your SD card, reboot recovery,

tap install, then in the bottom right tap install image, select your 3.1.1-1 TWRP.

Next tap on recovery partition and swipe to flash.

When finished reboot recovery to verify if it's really changed.

There is no reason why it shouldn't work.

I don't know about adb, you can try... but i think you can do a

nandroid backup rebooting into recovery and

selecting every partition you see...

Beware using 3.2.1-0 TWRP, as i told you it could cause unexpected issues.. :cyclops:

P.S.: a good rule before making a nandroid backup or attempting an

update/downgrade/switch ROM are

to remove all the security of the device..

fingerprint and / or password and / or pattern.
[Huawei P9 Lite Questions & Answers] toto6976:
Good evening,

I went to see for the TWRP of HassanMirza. This is version 3.2.1. Why are you telling me to take 3.1.1.1 ??

I finally found version 3.1.1.1 on the xda page of HassanMirza. I install it tomorrow. We will see if it goes well because in fair I downgrade from 3.2.1 to 3.1.1 !?

I found the link I followed to install the LC432B414 version:

https://www.stechguide.com/huawei-p9-lite-b413-b414-nougat-update/

I keep it under the elbow if it goes wrong ...

I forgot to say that, if it is possible, I would like to keep the root and the OTA updates ... Is (this possible ??
[Huawei P9 Lite Questions & Answers] Dadditz:
Hi,

sorry, you installed B414 firmware in your phone using that guide ?

If yes, which recovery did you used ?

Are your current ( B414 ) firmware 100% working ?

As i know firmwares cannot be flashed that way, that's because some

DEVs started create scripts capable to do that and because

i suggested you to use HuRUpdater method..

Anyway the device are in your hands and you can do anything you want...

Ahmmm, for your latest question, as i know, flashing a firmware will erase

the root ( not necessarily the recovery ), but you can easily reflash it...

Cheers :)
[Huawei P9 Lite Questions & Answers] toto6976:
Yes. This is the reason why I needed the bootloader code because I believe it had deleted TWRP after the flash.

TWRP Elite 3.2.1, The one that is currently installed I believe.

I don't know what it means and what I can measure it with?

This is what I intend to do by putting in it the twrp of Hassan after having flashed it on my mobile

Precisely, currently installed root is 'super su'. But I had to remove it because too many problems with some application. I was wondering if 'Magisk' works on this mobile? And if so which version?
[Huawei P9 Lite Questions & Answers] toto6976:
I would like to recover my bootloader code before doing any manipulations in case it goes wrong. My mobile is unlocked but no longer root. I tried this command but it doesn't work:

adb devices

adb shell

su -c "grep -m1 -aoE 'WVLOCK. {14} [0-9] {16}' / dev / block / mmcblk0p7 | grep -aoE '[0-9] {16}'"

How can I recover this code which is on my mobile since it is unlocked?
[Huawei P9 Lite Questions & Answers] Dadditz:
That's strange (at least for me)

Yep, really strange (at least for me)

I meant if " everything " is working into the device...

Ok, i never used the method you wrote into the guide you posted above...

You have to check, i don't have that device anymore...

Sorry, i don't know how and i don't know if it's possible...
[Huawei P9 Lite Questions & Answers] toto6976:
Hello, update successfully :)

Nos, i would like to know how to install magisk and, if IR is possible, wich version to take ?

Thank you
[Huawei P9 Lite Questions & Answers] Dadditz:
Hi, that's a good news for you... :)

For magisk you should go in his main thread, then hit on the

Magisk's GitHub Page link.

I don't know which version, you have to try by yourself.

Download the installer (multiple versions, ex. 20.4 & 20.3 & 19.4), the uninstaller and the apk.

Flash the uninstaller into the twrp if something goes wrong.

Follow the installation guides...

Good luck. ;)
[Windows Mobile Development and Hacking General] shredman:
Hi,

I like to use my xda orbit2 for geocaching with beeline gps software. yesterday, we startet to find a cache in a forest. the gps fix was ok, but as we entered the forest the beeline to go arrow goes off, on off an so on. it was nearly impossible to get a direction to the cachesite. the tightness of the forrest top was not to high, some glades around but the hdc looses his gps fix to often.

a friend of mine with the same pda told me about a gps hack for the orbit2 to get a better reliability of the internal gps reciever. where can i find this hack ?

after unpacking the hdc, we flashed bepe an the latest radiorom 1.64.08.21 but the gps unit doesn't work well with this combination. yesterday I downgraded to the shipped Radiorom 1.58.25.14 and will test it after work if it is better.

HDC XDA ORBIT2

Bepe ROM 0.64

Radio Rom 1.58.25.14

Thank you in advance

Regards

Frank
[Windows Mobile Development and Hacking General] rorydaredkign:
have a look in polaris general my friend
[Windows Mobile Development and Hacking General] shredman:
Have searched alot but cannot find a solution in polaris general. Did you or someone have any other information for me that may help?

Regards,

Frank
[ZenFone 2 Q&A, Help & Troubleshooting] nevernever:
hi every one i got asus z00ed,

i can't start it in fastboot . i have tried so many different combinations of power+volume up key but it never go in fastboot mood.

can any one please guide me if can try some other way to boot it in fastboot ?

it is going on recovery mood if start it with power+volume down key.

i tried asusflashtool . but it give me error of "unzio image failure "

and on if we do it by adb. it give me following error.
[Samsung Galaxy Note 10+ Questions & Answers] Romans8vs1:
I have a note 10+ (SM-N975U1) and I am looking for a way to get my Home Screens, App Drawer and App Icons to follow the DPI change I make under Developer Options. When I change the DPI to anything other than the standard 410, everything seems to change with the exception of the home screens, app drawer and app icons. I was able to do this a few releases ago but I cannot any longer.

Any ideas on how I can get this to change without installing a different launcher?

Thanks in advance!
[Samsung Galaxy Note 10+ Questions & Answers] Nastrahl:
I had this issue with the Note 9 already, and seems that the stock launcher doesn't follows the DPI setting.

We had this issue with the official keyboard too.

I'm still waiting for a solution too.
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Hi there !

So for the first time in years of ownership, I am interested in Rooting.

Naturally I searched around here, but could only find 2017 and 2018 threads with many problems and various bugs.

For an April 2020 guy, rooting is stock latest ROM, and interested in keeping stock but go rooted (mostly to block some Android trash) - What is the easiest way, can I have a link that is updated, or a paid tool I can buy and not mess with anything ?

Thanks a lot !
[Sony Xperia XZ1 Compact Questions & Answers] SXUsr:
Crack on - https://xdaforums.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Too much mess for my blood !

How much would It be to hire your service via screenshare ?

PM me please :)

Keep in mind I only want a root so I can disable some stock google trash with F-Droid apps.... I don't really need a new ROM, or do I ?
[Sony Xperia XZ1 Compact Questions & Answers] betacrypt:
I rooted mine on stock just a few weeks ago.

All I did was unlock the bootloader, flash TWRP, then flash the latest magisk. I then used Titanium Backup to remove the bloat. It was quick and painless.
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Thanks !

Which thread did you use as guide/link glossary ?
[Sony Xperia XZ1 Compact Questions & Answers] betacrypt:
I didn't use a guide, just did it based on experience rooting my Sony devices from before. But I can write up something brief. How much knowledge do you have rooting devices?
[Sony Xperia XZ1 Compact Questions & Answers] SXUsr:
I wouldn't want to do it that way, and if you do it yourself you'll gain a little experience which makes restoring or further modding easier.

If you want to root you need to unlock the bootloader, if you're unlocking your BL then it's advised to backup your DRM keys and restore them after unlocking your BL which is a one time process. Everything you need is in the thread I've linked to above.
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Thanks SX. I have seen a lot of your work around here doing searches, and I'm honored that you reply to my question :)

I will have a crack at it, I have done those things before but I remember not leaving the house for a few days, so it scarred me a bit

Haha :)

One last question if I may.... Do you believe that installing Lineage with no google on the xz1c is worth it? I guess it's a general question, but what I'm really asking is, should I even bother with rooting for privacy if my end goal isn't to flash Lineage ?
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
OK, after some more research, I have decided that what I really want to do is just install the 17v LineageOS version for the XZ1C.... It is my understanding it is possible without a root. ?

For sure the bootloader needs unlocking and TWRP to backup/flash correct ?

Super SU, does that make my procedure easier in any way ?

It is my understanding that if I flash a Lineage OS after unlocking via code and flashing TWRP, then the camera and all will still work.

Considering I don't mind binning that phone if I get sick of Lineage (I have like four of those in a box) - Can I skip the TA backup and restore ?

Apologies for the newb questioning, just trying to "get the hang" of it so I actually understand what i'm doing rather than just follow guides.

I'm a bit older than all you guys so forgive me :)
[Sony Xperia XZ1 Compact Questions & Answers] betacrypt:
I'm running lineage 16.1 on root with unlocked bootloader without restoring TA. But I didn't care about preserving the keys. Yes camera works great and everything is super stable.

You don't have to root lineage so if you need help best to narrow down what exactly you want to do as there are many possibilities.
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Absolutely, you're right !

I will be as specific as I can:

Sony abandoned the XZ1C, so I want to swap to Lineage OS with a full heart with no Gapps (i'll manage).

Here is what I understand tell me if I am correct:

1. Unlock bootloader via sony website

2. Flash latest TWRP

3. Use it to flash 17.1 Lineage OS from the genius dude (mod punk?)

4. Happy days

5. If modpunk updates it, will I be able to update with no reformatting ?
[Sony Xperia XZ1 Compact Questions & Answers] betacrypt:
Yep that's about right. Unlock bootloader with Flash Tool by getting unlock code from Sony. Flash TWRP in fastboot mode. Boot to TWRP and flash lineage 17.1. If you don't need gapps you're good to go.

As for lineage updates probably best to check with the thread. Usually you can dirty flash, i. e. flash new version over the old and it should be ok. Lastly check to see if they're are any major bugs with 17.1. Since it's so new there could be issues. 16.1 is smooth fast and stable if you ever need to go back to it.
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Superb, thank you so much ! What a wonderful community. I feel like im stealing. I will be sure to donate !

One question, may I use adb tools for the bootloader ?
[Sony Xperia XZ1 Compact Questions & Answers] betacrypt:
No problem. That one I'm not sure about. I've only used flash tool myself but adb tools should work with the right commands.
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Yay for me !

Bootloader unlocked, onto recovery and LOS
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
I did it !

Thanks yall

I get this horrible " please lock the bootloader" greeting when I turn on the device, for 5 seconds.

Is that normal for everyone ?
[Sony Xperia XZ1 Compact Questions & Answers] SXUsr:
You've got 4 XZ1Cs in a box?

It is yes, you'll have to live with that unfortunately. In regards to the TA, I would have taken the time to back them up, that'll matter should you wish to return to stock. It's better to have it and not need it than to need it and not have it. But you've achieved what you wanted to which is all that matters. :good:
[Sony Xperia XZ1 Compact Questions & Answers] baboon23:
Thank you sir !

You're probably right, I just couldn't be bothered... Sometimes 20 minutes more is like a life long more :)

Well, now that all is installed....

So when modpunk stopps working on the project (like sony stopped working on the xz1) - Will it be safe to just continue using the phone without updates at all ?

Or is the eventual doom of all ROM Flashers is to come back to stock (but then, it doesn't get updates anymore also...)

So does it matter in which platform I remain outdates ? :)

Re the XZ1's, I knew that this was going to be the last proper small phone so I made sure to stock. I plan to carry these into 2022 …….

Problem is, I think even in box without, the batteries will die out. So I'm not sure how smart I was when I got several.

All in all, for all phones I paid less than one iPhone so I'm pretty happy, but hopefully a lab can change the batteries on them.
[Sony Xperia XZ1 Compact Questions & Answers] Ephesus:
I believe it is recommended to charge lithium-ion batteries fully every other month or so to keep it healthy.

If you are rooted I recommend checking out the ACC magisk module and controller app. This allows the phone to stop charging when the battery level has reached a certain level. In the long run keeping your device charged between I think 80% - 20% will increase your battery longevity by 200% (sorry I don't remember the exact study this was from).

And I agree the XZ1c is the last proper small phone. I've rebuilt mine from one sold for parts from eBay and now it feels like new.

About the security:

If you want to you can keep a look out for specific vulnerabilities in Android after the last security patch released for the custom rom.

https://source.android.com/security/bulletin

But in general by not connecting to sketchy WiFi hotspots, being un-rooted, having se-linux on enforcing, and running af-wall (requires root permissions) or another firewall you should be good for a while.

I think it really depends on what security issues get discovered in the future and what vulnerabilities your specific use case opens you up to.
[Sony Xperia XZ1 Compact Questions & Answers] Braindeadz:
Hi guys !

What about DRM key backup ?

I need help if you have a solution :)

https://xdaforums.com/xperia-xz1-compact/help/guide-to-install-lineageos-17-1-scratch-t4136195

Thanks you !
[OnePlus 7T Questions & Answers] karayemis:
Hello,

I hate seeing the warning at start about bootloader being unlocked. Is there a way we can change that by flashing ?
[OnePlus 7T Questions & Answers] Deleted member 5408779:
Nope it's not possible.
[Touch Dual, MDA Touch Plus General] Chocolicious:
Hi, Sat night without me adding or removing anything from my Touch Dual, the screen no longer responds to any touches via hands or stylus. I have hard reset the device numerous times and alsoflashed the original rom back onto the device but now it gets stuck at the align screen.

Any ideas?
[Touch Dual, MDA Touch Plus General] vince_b:
Sorry to tell you this, but you'll need to have it repaired at the shop. Mine had the same symptoms and they had to replace something completely before it got back to 100% working condition.
[Samsung Galaxy A50 Questions & Answers] mistpsn:
Question related to "After updating, you will not be able to downgrade..." message

Hope you guys are safe and well.

Currently my A50 on August update. I have no problems with this update but I like to update to Android 10 for additional features. I'm reluctant to update because of this message. I'm afraid that if I had problems or something wrong with the new update, I won't be able to go downgrade to August update.

So, Is it really impossible to downgrade using Odin with an official firmware?

I'm coming from iOS and hence the fear of updating. As you may know, iOS downgrade is impossible when Apple sign-out the old software.

Thanks in advance.
[Samsung Galaxy A50 Questions & Answers] pripyaat:
Most major OS updates (i.e. from Android 9 to 10) also update the 'bootloader', which is a little piece of software that initializes your device, and runs before the system can even start (when you turn your phone on).

Once the bootloader is updated, it's often impossible and certainly not recommended to downgrade the OS, since you may permanently brick your device.

If Android 10 is out for your device model (eg. A505G in my case), just go ahead and update. I don't have any issues with it whatsoever, in fact it has fixed quite a few bugs (wifi connection would frequently drop for me in Pie with February/March updates, and now it doesn't anymore).

Greetings.
[Samsung Galaxy A50 Questions & Answers] mistpsn:
But can't I backup the boot loader too? Also, I heard that the official firmware includes the boot loader and therefore I won't have problems downgrading. I'm confused.
[Samsung Galaxy A50 Questions & Answers] sheidyly:
Screen not responding after update

Hi. I updated to the new Android 10 which my phone prompt me to install. But after updating, my screen is not responding anymore. I already tried to restart and factory reset. What can i do regarding this? Thank you very much!
[Samsung Galaxy A50 Questions & Answers] redymedan:
Try to flash the ROM manually using ODIN
[Samsung Galaxy A50 Questions & Answers] sheidyly:
I'm sorry but I'm new to all of this and I seem to read some comments saying the phone was bricked after flashing.

And if I will try flashing, do I use the old firmware or the new one?

Thank you so much!
[Samsung Galaxy A50 Questions & Answers] aligatro2010:
I think... and I could be completely wrong, but it keeps track of the highest version of bootloader you installed. So it will not allow you to boot if you flash the older one. However, I am not sure how it behaves if the bootloader is unlocked.
[Samsung Galaxy A50 Questions & Answers] mistpsn:
If anyone have the same concerns I had. I found out that only security updates seems to have this message and risk bricking your phone in case you downgrade to lower version. Some people confirms that they were able to downgrade without any problems from android 10 to android 9 on their A50.

It also made sense that there are no problems since the warning message only included with security updates. The android 10 Update change list have no warnings related to downgrading to older versions.

March security update had the warning message. And I had to do the security upgrade before the android 10 update was available OTA.
[Samsung Galaxy A50 Questions & Answers] Ajaybabu07:
If samsung not allows to downgrade then why they listed the old firmware in website they should remove , they upload and just wasting there tonnes of storage server to show we are providing these upadate to you why man if it is not usable if someone buy a device it up to you how you use it all security you can handle no matter but userinterface it the right or consumer who buy there product to maker her/his daily life easier but samsung not doing this ...

And apple says older chipset not able to handle battery consumption why people not able to replace battery if they buy your product? Buy making lithium ion battery earth is already in denger or for other reason too but this is not the solution ,to force people to use always latest device or software if anyone like to use vcr then he play song on it this is upto him what he likes or not but this is shameful i think