About how to enable ID verification when Android system starts - General Paranoid Android Discussion

Before, I saw a charged Rom. this ROM is used to verify the ID of the motherboard after startup. The ROM regularly updates and adds a new motherboard ID. if you register the ID with the ROM author, you can enter the system normally after swiping. If you do not register the ID, you will be stuck in the boot interface and cannot enter the system. I would like to ask how this is achieved and where the ID is stored in the ROM

Related

Possible to unbrick using serial adapter?

Hi,
I have a phone which won't enter any of the boot modes (ie. recovery, boot loader etc, just hanging on the splash screen) and I'm wondering if it is possible to use the serial interface (as per below link) to make some headway on getting it back to a bootable state, or if I will have to wait for further progress on the JTAG interface.
how to access serial interface on G1
http://www.instructables.com/id/Android_G1_Serial_Cable/
to summarize: in the state my phone is in, will this serial port be active or is that handled by the system once it's booted
thanks
Nobody's been able to get a response from a brick this way afaik. By all means try it if you're bored, just don't get your hopes up.

UNABLE to roll back from N to MM

Hi all.
I made a huge mistake, upgraded to Android 7 from here, but i'm stuck on version B328.
I unlocked my phone when i was on MM, but i've lost my unlocking code. I'm unable to unlock my phone on Nougat, as my product ID is 12323123 (a fake one), which means i get this error when trying to activate it on Huawei's website:
Code:
Please fill in the correct identification code; Please check whether the product model is entered correctly, if it is multiple IMEI / MEID mobile phone, please use other IMEI or MEID retry
My phone is a VNS-L31 Europe, with Dual Sim
Any idea how to recover the unlocking code, or generate a valid product ID?
Thanks.
It is tutorial here, arround!
< -Used @k1ll3r8e 's toolkit, in dual-sim section, downloaded the L21C432B130.zip firmware, unpacked it to SD Card (dload/update.app).
-Had the phone bootloader unlocked, rooted and on stock MM (L31xxxxb201)
-enabled usb debugging and had the pc authorized
-in Dual-Sim section, Upgrade tab I ticked that I understand warnings, selected VNS-L21, clicked upgrade to Dual-Sim, let it run and do its stuff (watch display as su access needs to be granted there). You know it worked as the warning text about unlocked bootloader is not orange but red.
-once it was complete, phone rebooted, it asked for decryption key, so I let it re-format the storage, but the phone didn't boot afterwards
-Used the vol up/down power to get the eRecovery started updating to L21C432B130 from the SD card. It had failed once on me (but got past 5%), so I restarted the phone and tried again and the flashing completed successfuly
-Done another factory reset
-Phone booted, it shows Model Number as HUAWEI VNS-L21 and build number VNS-L21C432B130
-OTA update got downloaded automatically and installing OK>
Use the SEARCH before open a new topic!
For unlocking code contact Huawei! Information you need is on the package of phone (serial number etc.)
Instal B336
It has no bugs and you just have to put the update.app in the dload folder

Extracting media from a locked Huawei P8 Lite with lost passphrase

Hello all,
I'm in possession of a Huawei P8 Lite of which the owner lost the passphrase. The question is whether the photos on the device can still be recoved. The bootloader of the device is currently locked. Debug mode is not enabled (nor is my computer authorized).
I was hoping that it would be possible to unlock the bootloader (which supposedly does not trigger a factory reset on this model?) - and then install a custom recovery from where I could backup the pictures. In order to unlock the bootloader, I would need IMEI-1 + IMEI-2 and the S/N. I was able to obtain one of the IMEIs by typing *#06# on the emergency call screen. Is there a way to obtain the other codes somehow (perhaps via fastboot)? Once I obtain the necessary information, my assumption is that I would be able to get an unlock code from Huawei after which I can unlock from fastboot. (Or does OEM unlock still need to be enabled from the developer options in Android?)
Edit: seems like the S/N is shown when connecting in fastboot mode and listing "fastboot devices".
Edit2: seems like obtaining the IMEI through the emergency call functionaltiy combined with the S/N is enough: I modified the "Product ID Generator" tool to include the "ALE-L21" model, and now it generates valid Product IDs that can be used on the Huawei website to obtain an unlock code.
Alternatively, I've noticed that there's an "emergency data backup" mode on this model, which I accidentally entered. I was hoping anyone knows more about this mode (note that this is different from the fastboot & rescue mode). I got booted into this mode because somehow the ext4 partition failed to mount during one of the many times I rebooted the phone. This mode also allowed me ADB access - however, this was a rescue OS which did not actually contain the user data. I would like to attempt to boot into this mode again, gain root access via a kernel exploit, and either read out the unlock code from /dev/block/mmcblk0p** or directly copy the media onto an SD card. Does anyone know how to "trigger" booting into this mode? The kernel code for the p8 lite seems to have a flag "CONFIG_FEATURE_HUAWEI_EMERGENCY_DATA" which enables this feature.
Pointers welcome
Note, I'm not desperate to recover the data - but this has become more of a "challenge" I'd like to solve.
Edit: I was able to unlock the bootloader with details obtained from the device. Unlocking the device did not initiate a wipe. Now it comes down to installing a recovery image and pulling the data
ce3c said:
Hello all,
I'm in possession of a Huawei P8 Lite of which the owner lost the passphrase. The question is whether the photos on the device can still be recoved. The bootloader of the device is currently locked. Debug mode is not enabled (nor is my computer authorized).
I was hoping that it would be possible to unlock the bootloader (which supposedly does not trigger a factory reset on this model?) - and then install a custom recovery from where I could backup the pictures. In order to unlock the bootloader, I would need IMEI-1 + IMEI-2 and the S/N. I was able to obtain one of the IMEIs by typing *#06# on the emergency call screen. Is there a way to obtain the other codes somehow (perhaps via fastboot)? Once I obtain the necessary information, my assumption is that I would be able to get an unlock code from Huawei after which I can unlock from fastboot. (Or does OEM unlock still need to be enabled from the developer options in Android?)
Edit: seems like the S/N is shown when connecting in fastboot mode and listing "fastboot devices".
Edit2: seems like obtaining the IMEI through the emergency call functionaltiy combined with the S/N is enough: I modified the "Product ID Generator" tool to include the "ALE-L21" model, and now it generates valid Product IDs that can be used on the Huawei website to obtain an unlock code.
Alternatively, I've noticed that there's an "emergency data backup" mode on this model, which I accidentally entered. I was hoping anyone knows more about this mode (note that this is different from the fastboot & rescue mode). I got booted into this mode because somehow the ext4 partition failed to mount during one of the many times I rebooted the phone. This mode also allowed me ADB access - however, this was a rescue OS which did not actually contain the user data. I would like to attempt to boot into this mode again, gain root access via a kernel exploit, and either read out the unlock code from /dev/block/mmcblk0p** or directly copy the media onto an SD card. Does anyone know how to "trigger" booting into this mode? The kernel code for the p8 lite seems to have a flag "CONFIG_FEATURE_HUAWEI_EMERGENCY_DATA" which enables this feature.
Pointers welcome
Note, I'm not desperate to recover the data - but this has become more of a "challenge" I'd like to solve.
Edit: I was able to unlock the bootloader with details obtained from the device. Unlocking the device did not initiate a wipe. Now it comes down to installing a recovery image and pulling the data
Click to expand...
Click to collapse
Now simply install twrp, connect to PC and you will be able to see all the files in Explorer
faby GT said:
Now simply install twrp, connect to PC and you will be able to see all the files in Explorer
Click to expand...
Click to collapse
With twrp you can delete lockscreen specific files to remove lock
Audriuskins said:
With twrp you can delete lockscreen specific files to remove lock
Click to expand...
Click to collapse
If you think about this, you can see how easy it is to unlock a phone (also for bad purposes...)
Agreed, I'm surprised that Huawei didn't force a device wipe before allowing OEM unlock. Especially because you can obtain all the details you need from the phone to obtain an unlock code on the Huawei website.
I indeed ended up installing TWRP and remove the password.key file to remove the lock

How can i put password in bootloader (s4 GT-I9500)

HI,,,,
i have Samsung galaxy s4 GT-I9500 and i want to put password in boot-loader , so im using Philz_recovery and set password in recovery . i need to this to protect my phone if i lost it form any one can to change rom
thanks
Smartphones don't have a BIOS like a computer would. On a computer you can set a BIOS password as it in effect is its own operating system. Enter the password and the BIOS initializes what it needs to do then passes control to the bootloader.
On a smartphone, while there is low level firmware like a BIOS, there is no way of accessing it by the ordinary person, thus no need of a password prompt. The bootloader doesn't have a password because its only job is to set up the device environment for the operating system. Thus the only way to password protect a device is through a pattern lock, pin number, or password on Android's lock screen.
One last thing: Philz is two years out of date. Use TWRP instead.
thanks for your reply , helpful answer , but i want to know how can i protect my phone if stolen that some one cannot change the rom by go to download mode and using Odin so( if i put password in android lock screen , and put password in custom recovery and put password in download mode It will make it difficult to change the rom and make my phone unusable)
any Suggestions
thanks
If you had truly read my post you would have noticed two things.
1. Password protection of the bootloader (and download mode) isn't available.
2. Focus on securing the data.
So the answer to your request for suggestions is simple. Don't lose your phone.
All you can do is encrypt the phone, use Android Device Manager, and use a strong password.

adb tool to make it more beginners friendly similar to odin

having worked with adb i've realized how much of a powerful tool it is for Android Modding, but the googling on what commands to use is annoying so a few suggestions on a tool that would have made my experience much easier.
you start the tool it automatically detects if a device is connected so no adb devices, then clearly show this, commands show neatly as buttons, if you want to flash a custom recovery you press the button flash custom recover and then a dialog pops up asking you to browse for the img file, so no command, if you want to flash a rom you press flash rom button then again a dialog pops up asking you to navigate to the file, theres no need for commannds, and then a checkbar (reboot after flashing) and once flashing is finished you have a simple reboot button (reboot to system,reboot to recovery, reboot to bootloader) this tool would also let you flash zips such as gapps or magisk, same deal there you press a flash maybe module button you get asked to navigate to the file it does the flashing for you i know it's possible just complicated a tool could fix that, this tool would also check if all the proper drivers are installed and display it as a green ok mark and if not ask you to install said drivers, this tool would be portable no installation required, there would also be a open terminal button for the standard adb, other ideas include foolproof safety features if you're about to flash a custom recovery a window will pop up
flashing an incorrect custom recovery can damage your device if you have a dual sim version of your phone and flash a single sim version you can cause damage, would you like to google the name of this recovery to make sure it's supported for your devices (model number) (google) (pressing google will start a google search with the recovery name as well as the model name of the phone)
flashing an incorrect custom rom can damage your device would you like to google the name of this rom to make sure it's supported for your device, if you have a dual sim version of your phone and flash a single sim version you can cause damage (model number) (google) (pressing google will start a google search with the rom name as well as the model name of the phone)
safety checks can always be implemented that rom and recovery developers include so a recovery or rom has a specific file this tool will look for and if all information is correct to the model name of the phone it will continue if information isn't correct then it won't flash anything if so it would show this error
this rom/recover does not support your device if you proceed you can brick it, contact the developer for clarification as it may just be a mistake with the identifcationfile (continue any way) and then Another warning message if you continue this would be a red one. and you have to type in text (i understand the risks that my device can be bricked and permanently damaged by continuing) (and then a continue button that Counts down from 10 until it can be clicked)
personally i like the idea of this even if it would be annoying but it would shove it in the users face that they are willingly about to destroy their device, i wen't through a literal nightmare yesterday because there were things i wasn't aware of when flashing, for example someone put a rom for the huawei mate 10 lite under the mate 10 section without clarifying that it's not officially supported for the mate 10 pro so i got error 7 i also failed to install adb 15 seconds because it didn't work a portable version would fix that , not to mention the annoyances of googling what commands to use for each function, all of which i could have avoided with a tool like that, a tool like that would also let me know that i don't need twrp, i had no idea adb could do Everything twrp did, it would also replace the typing out the entire file location with a browse button instead, Another idea is fully automating the entire process even after the phone is rebooted, the developer makes a package that the tool supports, then the tool will flash the recovery and reboot into, or flash the rom and reboot, it would just be a simple start button.

Categories

Resources