Liberty sense Kernel - HTC One Mini 2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
System Write protection disabled
More coming soon
Downloads:
KERNEL
KERNEL SOURCE
Credits:
@gibihr For providing dumps
@xXminiWHOOPERxX for the graphics of this thread
XDA:DevDB Information
Liberty Kernels, Kernel for the HTC One Mini 2
Contributors
bilal_liberty
Kernel Special Features:
Version Information
Status: Stable
Created 2014-07-06
Last Updated 2014-09-08

How to install:
Extract boot.img from the zip and place it in ur adb folder
Reboot ur phone to fastboot mode
open command prompt and issue command:
Code:
fastboot flash boot boot.img
fastboot reboot

Reserved

Doesn't work for me, after flashing boot.img phone doesn't boot, just boots into fastboot. Am I doing something wrong?

Did you flash the zip too, via recovery?
Gesendet von meinem HTC One_M8

Black-FR said:
Did you flash the zip too, via recovery?
Gesendet von meinem HTC One_M8
Click to expand...
Click to collapse
I extracted the boot.IMG and flashed it as a "normal" boot from fastboot. Didn't flash any zip...

Same result for me, just reboot in fastboot...

mumu02 said:
Same result for me, just reboot in fastboot...
Click to expand...
Click to collapse
i was thinking of trying this have you found any problems ?

In my case I had to reflash the original boot.img, Phone just didn't boot, stuck in fastboot mode

how did you get the original boot image ? if I'm going to try I would like a backup plan

You can extract it from the zip file here:
http://forum.xda-developers.com/one-mini-2/general/update-available-2-16-401-1-t2809200
post #4
Or you can do a backup with twrp and then restore the boot partition.

mumu02 said:
You can extract it from the zip file here:
http://forum.xda-developers.com/one-mini-2/general/update-available-2-16-401-1-t2809200
post #4
Or you can do a backup with twrp and then restore the boot partition.
Click to expand...
Click to collapse
thanks

Fixed the issue.
Can somebody test this:
http://d-h.st/72f
md5sum: 25d71eb110b6d14a35cc549ed2f47e8

Hello,
It's better, the device boot normally but the external sdcard is not mounted.
Thank you.

bilal_liberty said:
Fixed the issue.
Can somebody test this:
http://d-h.st/72f
md5sum: 25d71eb110b6d14a35cc549ed2f47e8
Click to expand...
Click to collapse
external sdcard is not mounted

Still no fix? Looks like this phone hasn’t had any success...

I have tried this and everything works fine.
Sd card is mounted

Hi !
First, thanks for the work you did, but I've tried it tonight and SD card is still not mounted.
It's misunderstanding me, because you can see sd card in settings-memory but none of my sd card apps are starting.
Does anybody knows something about this ?
Thx !

malfra said:
Hi !
First, thanks for the work you did, but I've tried it tonight and SD card is still not mounted.
It's misunderstanding me, because you can see sd card in settings-memory but none of my sd card apps are starting.
Does anybody knows something about this ?
Thx !
Click to expand...
Click to collapse
I'm not shure what you mean with sd card apps. Did you try to install apps to SD card? Because that's not possible I think.
It's just for storing music, photo's etc.

I getting confused here, does the SDCard stop working with the new kernel build? Or do the apps installed in the SDCard stopped working?

Related

[Q] Help on backup internal memory on a dead HTC One PNO7110

Hi,
Thank you for reading.
I have a HTC one that stuck on HTC logo. My question is, is it possible to backup files on my internal memory?
If i do a Hardreset, will my internal memory wipe?
Any help would be appreciate.
Best regards,
Oki
okilim said:
Hi,
Thank you for reading.
I have a HTC one that stuck on HTC logo. My question is, is it possible to backup files on my internal memory?
If i do a Hardreset, will my internal memory wipe?
Any help would be appreciate.
Best regards,
Oki
Click to expand...
Click to collapse
if you do a hard reset, no your files will not be wiped. If you do a factory reset then yes.
you can backup your files using a custom recovery like twrp
Code:
adb pull /sdcard/ C:\Backup
alray said:
if you do a hard reset, no your files will not be wiped. If you do a factory reset then yes.
you can backup your files using a custom recovery like twrp
Code:
adb pull /sdcard/ C:\Backup
Click to expand...
Click to collapse
Hi, Thanks I manage to unlock bootloader and install twrp.
But /sdcard is empty?
Is that means all my files is lost?
except there is a TWRP folder there.
I never do a factory reset.
Please help me
okilim said:
Hi, Thanks I manage to unlock bootloader and install twrp.
But /sdcard is empty?
Is that means all my files is lost?
except there is a TWRP folder there.
I never do a factory reset.
Please help me
Click to expand...
Click to collapse
you cant backup your files using a custom recovery if your bootloader was locked! Unlocking the bootloader wipe /data including the virtual sdcard (/data/media/0).
looks like you did not read the warning when prompted to unlock the botloader....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
alray said:
you cant backup your files using a custom recovery if your bootloader was locked! Unlocking the bootloader wipe /data including the virtual sdcard (/data/media/0).
looks like you did not read the warning when prompted to unlock the botloader....
Click to expand...
Click to collapse
So you mean there is no way i can backup the sdcard if my phone bootloader is lock?
Just asking for next time use.
okilim said:
So you mean there is no way i can backup the sdcard if my phone bootloader is lock?
Just asking for next time use.
Click to expand...
Click to collapse
afaik, if you can't boot in the OS, you need at least ADB to pull files form your phone which require a custom recovery installed so an unlocked bootloader.

[GUIDE] How to get back the stock kernel of Nexus 5 (LMY47I)

Hi everybody,
This is my second post at XDA and as an answer to my first post (List of Lollipop 5.1 custom kernels for the Nexus 5) This post guides you how get back the stock kernel (LMY47I).
Always remember: You flash at your own risk! This post is only for the Lollipop build LMY47I!
There are two ways to get the stock kernel back, the first with a custom recovery like TWRP or CWM and the second with FASTBOOT (UNLOCKED BOOTLOADER is imortant)
1. Download the STOCK-KERNEL.ZIP in the attachments and extract it (for example with WINRAR or 7-ZIP). Then you have two files. The only one you need is the Kernel.zip file! Copy it to your phone, then switch to the custom recovery navigate to the Kernel.zip file and flash it. Now reboot the phone. The stock kernel was succesfully flashed.
2. Download the STOCK-KERNEL.ZIP in the attachments and extract it (for example with WINRAR or 7-ZIP). Then you have two files. The only one you need is the boot.img! If you haven't downloaded the Android SDK yet download it now! Switch to folder where you installed the SDK and navigate to "platform-tools". Copy the boot.img file into it. Now reboot your phone into FASTBOOT (Bootloader) with POWER Button + VOLUME DOWN and connect your phone to your PC wait until the drivers are installed if you get an error install the latest Google drivers. Open CMD navigate to "platform-tools" and type: "fastboot flash boot boot.img". Reboot your Phone and disconnect the USB-Cable. The stock kernel was succesfully flashed.
Error
Can't flash the zip, says "Unable to execute"
falcon.prj said:
Can't flash the zip, says "Unable to execute"
Click to expand...
Click to collapse
What is the name of the .zip that you tried to flash?
some custom kernels also modify/replace other files in the system partition, so is flashing just boot.img enough to return to stock kernel then?
Wakamatsu said:
What is the name of the .zip that you tried to flash?
Click to expand...
Click to collapse
Kernel.zip
And the problem was with TWRP, sorry
and thanks!
iamelton said:
some custom kernels also modify/replace other files in the system partition, so is flashing just boot.img enough to return to stock kernel then?
Click to expand...
Click to collapse
Nope. So this thread is kinda pointless. You need to reflash your rom after hellscore, code blue, elementalx and probably franco (not used franco since kitkat)
From hells thread -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5

The item boot.emmc.win could not be read.

formatted and repaired everything in TWRP
I thought I was having problems with my USB c otg so I took it back. Now I'm getting this message just trying to copy and paste the twrp backup on my internal storage as well. When I move it with a file explorer app it fails. When I move it with the built in storage explorer it moves it but its a 0 byte file. Is it a TWRP issue or a CM13 issue or OnePlus issue?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Using the file manager in twrp I can copy and paste the file just fine. I'm on my second different USB c OTG and it's the same problem. boot.emmc.win from my TWRP backup just won't copy over and it even erases everything off my flash drive when failing to transfer. Anyone else have this issue?
I have that issue, too.
Cant find any solution
belek1979 said:
I have that issue, too.
Cant find any solution
Click to expand...
Click to collapse
Me either it's scary enough to stop me from even plugging in my otg storage completely. 1 cable OK maybe, 2 cables, now we have a serious problem and I'm not trying to lose anymore data.
It's a bug in TWRP that makes the file get created with the wrong permissions. (You don't see this if you look at the permissions in the normal place because of how mounting works on Android.) See https://github.com/TeamWin/Team-Win-Recovery-Project/issues/749 for details.
Any chance it gets fixed? That message was 5 months ago. It would be nice to be able to backup to USB otg without everything getting erased.
954wrecker said:
It would be nice to be able to backup to USB otg without everything getting erased.
Click to expand...
Click to collapse
This never leads to anything being erased, and you can easily work around it by fixing the permissions in TWRP.
When Im moving it with the built in file manager or fx explorer it erases everything off my otg flash storage. 50% of the time it erases everything the other 50% of the time it simply copies it as a 0 byte file.
954wrecker said:
When Im moving it with the built in file manager or fx explorer it erases everything off my otg flash storage.
Click to expand...
Click to collapse
That sounds like an unrelated issue.
I think it's the exact same issue I don't think it's a coincidence its always after it gets to that exact file everytime
I was just hoping I didn't have to manually change permissions in recovery, just to be safe in case I ever forgot.
In recovery > ADB I can copy that file to PC without any problems
Yeah I can do it anyplace but when booted into the phone system. It's getting fixed soon so I won't have to worry anymore.

How to Flash the fastboot ROMs without wiping internal storage

Download the fastboot ROM that you want to flash to restore your phone unzip it and then change the flash-all.bat to flash-all.txt then open it. It will have a line that looks like this
fastboot -w update images.zip
Change it to this
fastboot update images.zip
Then close it and save. Change the file name back to flash-all.bat it will now flash the fastboot ROM without wiping internal storage. After that boot back to bootloader and boot phone to twrp and wipe only dalvikcache and data. You will keep all the files on you're phone flash twrp and flash you're new custom ROM gapps magisk the way you normally do. You will have to set you're ROM up again but everything on you're internal storage will still be there. I hope this helps people flashing on a/b devices.
Pretty sure it asks if you want to wipe the internal storage.
It never asked me if I wanted to wipe it just go straight through the process but that it doesn't reset the bootloader like the MSM tool and doesn't wipe internal storage it makes it easier to flash ROMs with the A/b partition. At the beginning when I first bought my McLaren OnePlus 6t I would have to put my music and all my files back on my phone and I have a hundred gigs of music so it was hard to flash a ROM now I can flash one everyday day or every other day. the only reason I even posted this was I couldn't find it anywhere online and then I remembered that if you erase something from the. Bat file it would not wipe so I took a look and figured it out figured I'd post it so that people with the OnePlus 6t would have this information readily handy.
DaveIsHome said:
Download the fastboot ROM that you want to flash to restore your phone unzip it and then change the flash-all.bat to flash-all.txt then open it. It will have a line that looks like this
fastboot -w update images.zip
Change it to this
fastboot update images.zip
Then close it and save. Change the file name back to flash-all.bat it will now flash the fastboot ROM without wiping internal storage. After that boot back to bootloader and boot phone to twrp and wipe only dalvikcache and data. You will keep all the files on you're phone flash twrp and flash you're new custom ROM gapps magisk the way you normally do. You will have to set you're ROM up again but everything on you're internal storage will still be there. I hope this helps people flashing on a/b devices.
Click to expand...
Click to collapse
Thank you very much about this topic. I will try this method for my OP6. I also face your problem about internal data. I have more than 100gb data in my phone and i don't want lost it's on every time i flash the phone. I hope everything ok after use this method.
AWESOME!!
Good to know.
Gonna try this on my oneplus 8 pro but the twrp is buggy atm and doesn't wipes data or even cashes, will have to find some fastboot commands to just wipe data and not internal storage, cheers
Can you please make a video tutorial, it will be great to understand...
How can I flash a Fastboot ROM with my bootloader locked? Please help.
pagan_1 said:
How can I flash a Fastboot ROM with my bootloader locked? Please help.
Click to expand...
Click to collapse
AFAIK you can't.
pagan_1 said:
How can I flash a Fastboot ROM with my bootloader locked? Please help.
Click to expand...
Click to collapse
I was able to flash while having my bootloader locked...
You should enter EDL mode by connecting two test points at the back of your A2 lite and plug the USB. It all dose the magic.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I did as follows.
Note-I was not successful with latest flash tool. Succeeded with 20160830 version at https://www.xiaomiflash.com/download/

[O][P]Unoficial TWRP 3.4.0 & Root

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TWRP 3.4.0 & Root
Root and absolutely working TWRP 3.4.0 from nemo-nemo!
Oreo & Pie​
Features
In the new TWRP and Root installation method described below, there is no need to format the Data partition to remove the encryption.
Thanks to TWRP's built-in FB Encryption (File Based Encryption), the contents of the Data partition are available with encryption preserved. The folders on the external memory have the correct names and structure.
- Forced DM-Verity removal
- Forcibly removing the protection of Motorola Hab
- Now there is no need to sew additional decoders when installing TWRP and receiving Root or when installing custom firmware!
- Full access to Oem partition modification directly from the running system using Root Explorer, which previously was only possible with Root obtained through SuperSu.
Installation Instruction
1. Download archive with files for installation TWRP and Magisk Google Drive
2. Extract files:
- twrp-3.4.0-nash-nemo-nemo.img to the folder adb with drivers adb & fastboot ;
- twrp-installer-3.4.0-nash-nemo-nemo.zip, Magisk-disable-dm-verity-v20.4.zip to the SD Card..
This is a special modification of Magisk for Motorola devices. You can read about it here Link
3. Boot the phone in fastboot mode, connect it to a PC and perform the following commands:
Code:
fastboot boot C:\adb\twrp-3.4.0-nash-nemo-nemo.img
4. The phone restart in to Recovery.
5. Go to the "Install" section. Click on "Select Storage" button, select Micro SD card, OK. Install twrp-installer-3.4.0-nash-nemo-nemo.zip and Magisk-disable-dm-verity-v20.4.zip.
6. Reboot into the system.
Attention! Backup creation after TWRP and Magisk installation should be done only after full booting into the system. Otherwise restoration of the Data partition backup will be interrupted with an Error 255.
Сredits:
nemo-nemo
TeamWin-TWRP
ilia3367
Thanks a lot, everything works fine. The only issue I had was the russian language on the first boot in TWRP, but it is easy change to english.
forgottennick said:
Thanks a lot, everything works fine. The only issue I had was the russian language on the first boot in TWRP, but it is easy change to english.
Click to expand...
Click to collapse
Well, this is understandable. This TWRP was created by 4PDA developers.
do I have to flash Magisk-disable-dm-verity whenever I want to install a custom rom?
If you need a Root then of course yes.
Very good, works, thanks!
Will this method work for the Verizon version of the Z2 Force?
ilia3367 said:
If you need a Root then of course yes.
Click to expand...
Click to collapse
Willi this work on the Verizon Z2 Force?
will4958 said:
Willi this work on the Verizon Z2 Force?
Click to expand...
Click to collapse
Verizon and Root concepts are not compatible.
hey, im getting a bootloop when trying this. no idea why?

Categories

Resources