This Guide is only for Realme 6/6i(India)/6s [RMX2001/RMX2002/RMX2003] ONLY !!.This method is for only for Linux as mentioned , refer to this guide by daeSundae for Windows one : Windows GuideRequirements:-- BROM Bypass ToolKit :- Download Here
FIRMWARES: B.65 - Google DriveA.58[EU] - Google Drive
NOTE: Please read an explanation of what is userdata partition and how different is this from other firmware HERE.
USERS RUNNING WINDOWS CAN ALSO USE THIS METHOD BY USING ANY POPULAR DISTRO LIVE BOOTABLE MEDIA.
STEP 0 : If you are using Windows, make any popular Linux Distro Bootable by using Ventoy / Rufus and If already using Linux then skip this step. (Recommended : Manjaro , Fedora, Ubuntu).
STEP 1 : Connect to Internet and open terminal in the downloaded BROM_Bypass folder .
STEP 2 : Now run the following command.
Code:
chmod +x bypass && ./bypass
Select Your Distro when prompted like below -
{
"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"
}
It will download and install necessary files and packages required automatically now.
NOTE: IF YOU HAVE ANY OTHER DISTRO THAN THE ABOVE MENTIONED POST A COMMENT.
STEP 3 : After few seconds connect your phone in BROM mode (Power off , press and hold both volume buttons and connect) when it prompts,.
Should look like below-
STEP 4 : After few seconds Smart Phone Flash Tool will launch automatically, Load Download Agent from "Required Download Agent" folder and scatter file from the firmware you downloaded.
Should look like below -
WARNING : DO NOT CHANGE MODE TO ANY OTHER THAN "DOWNLOAD ONLY" YOU PHONE WILL LOOSE IMEI AND SN.
STEP 5 : Click on Download button and just unplug and plug your phone (without pressing any buttons), flashing should start now.
Should look like below-
Wait until you see "DOWNLOAD OK" popup, then you can unplug and press power button to start your device.
YOU HAVE SUCCESSFULLY DOWNGRADED/UNBRICKED YOUR DEVICE.
SPECIAL THANKS TO - daeSundae for Windows method .chaosmaster / k4y0z , xyzz / xyz` , Dinolek , MEGAFON929 & Bjoern Kerler .
Used TOOLS for making this guide -
MTK CLIENT
MTK BYPASS
OFP DECRYPTOR
NOT NEEDED ANYMORE !!
For Users who are already using Linux can easily install patched kernel and use this method whenever they want instead of booting into FIRE ISO every time.
Download pre-built patched kernels - Download Here
Pre-built kernels are only available for Arch & Arch based distros, Debian & Debian based Distros and Ubuntu & Ubuntu based distros.
If you are using other than the mentioned above then download kernel patch from HERE and manually patch and compile kernel . For info about about patching & compiling kernel from source refer to your distro's documentation.
NOTE : ALL COMMANDS SHOULD BE RUN AS ROOT USER TO AVOID FAILURE OF MTK BYPASS AND SPFT.
For ARCH and ARCH Based Distros :
Open the downloaded prebuilt kernel and head over to "Arch" folder and run this command-
Code:
pacman -U linux-lts-kamakiri-headers-5.10.17-1-x86_64.pkg.tar.zst linux-lts-kamakiri-docs-5.10.17-1-x86_64.pkg.tar.zst linux-lts-kamakiri-5.10.17-1-x86_64.pkg.tar.zst
For Debian and Debian based Distros & Ubuntu and Ubuntu based Distros:
Open Debian /Ubuntu folder and run this command-
Code:
apt install -f ./linux-libc-dev_1_amd64.deb ./linux-headers-5.10.0-kamakiri_1_amd64.deb ./linux-image-5.10.0-kamakiri_1_amd64.deb
#You might need to change the file name acc to the actual file . file name might differ a little.
After you have successfully installed kernel use grub-customizer or simply reboot and boot into the installed kamakiri kernel, kernel name will end with "kamakiri"
Just to make sure you are into the newly installed kernel open terminal and run this command-
Code:
uname -r
The above command will show the currently booted kernel name which should end with "kamakiri". then you are good to go .
Now you can continue from Step 3 from the guide.
Extras for Debian and Ubuntu & its based Distros:Debian and Ubuntu hold packages a lot so you might not be able to install "libpng12" package and might get errors in python , to fix this i have added "libpng12" official .deb package and commands needed to fix python errors.
libpng12
Code:
apt install python3-distutils python-is-python3
Click on Download button and just unplug and plug your phone fast (without pressing any buttons), flashing should start now.
i tried quick as possible but but not starting download ,my device tries to recovery
not working
albatron34000 said:
not working
Click to expand...
Click to collapse
just saying not working wont help
Which distro ?
and run the script with tee command send me the log.
bx2nero said:
just saying not working wont help
Which distro ?
and run the script with tee command send me the log.
Click to expand...
Click to collapse
Click on Download button and just unplug and plug your phone fast (without pressing any buttons), flashing should start now.
flash not starting (unplug phone make phone powered on)
albatron34000 said:
Click on Download button and just unplug and plug your phone fast (without pressing any buttons), flashing should start now.
flash not starting (unplug phone make phone powered on)
Click to expand...
Click to collapse
Run the script with tee command and send log.
like this
./arch.sh | tee arch.log
bx2nero said:
Run the script with tee command and send log.
like this
./arch.sh | tee arch.log
Click to expand...
Click to collapse
thanks for help
albatron34000 said:
thanks for help
Click to expand...
Click to collapse
Ping me in TG
link in profile.
bx2nero said:
This Guide is only for Realme 6/6i(India)/6s [RMX2001/RMX2002/RMX2003] ONLY !!.This method is for only for Linux as mentioned , refer to this guide by daeSundae for Windows one : Windows GuideRequirements:-- Tools Kit :- Download Here
FIRMWARES:FULL FIRMWARE (Recommended).B.53 - Mega - Google Drive
B.37 - Mega - Google Drive - Google Drive 2
B.23 (First RUI Update for the device) - Mega - Google Drive - Mirror
A.50[EU] - Google Drive
NO USERDATA FIRMWARE - FOR PEOPLE WITH LIMITED DATA PLAN.B.53 - Download - Mirror
B.37 - Download - Mirror
B.23 - Download - Mirror
NOTE: Please read an explanation of what is userdata partition and how different is this from other firmware HERE.
USERS RUNNING WINDOWS CAN ALSO USE THIS METHOD BY USING ANY POPULAR DISTRO LIVE BOOTABLE MEDIA.
STEP 1 : If you are using Windows, make any popular Linux Distro Bootable by using Ventoy / Rufus and If already using Linux then skip this step.
STEP 2 : Connect to Internet and open terminal in the downloaded Linux Tools folder .
STEP 3 : Now run the following command according to your Distro.
FOR ARCH BASED DISTROS:
Code:
chmod +x arch.sh && ./arch.sh
FOR UBUNTU BASED DISTROS:
NOTE: If you are using Ubuntu make sure you have "universe" repository enabled from "Software & Updates" application.
Code:
chmod +x ubuntu.sh && ./ubuntu.sh
FOR FEDORA BASED DISTROS:
Code:
chmod +x fedora.sh && ./fedora.sh
NOTE: IF YOU HAVE ANY OTHER DISTRO THAN THE ABOVE MENTIONED POST A COMMENT.
STEP 4 : After few seconds connect your phone in BROM mode (Power off , press and hold both volume buttons and connect) when it prompts,.
Should look like below-
View attachment 5378191
STEP 5 : After few seconds Smart Phone Flash Tool will launch automatically, Load Download Agent from "Required Download Agent" folder and scatter file from the firmware you downloaded.
Should look like below -
View attachment 5378193
WARNING : DO NOT CHANGE MODE TO ANY OTHER THAN "DOWNLOAD ONLY" YOU PHONE WILL LOOSE IMEI AND SN.
STEP 6 : Click on Download button and just unplug and plug your phone fast (without pressing any buttons), flashing should start now.
Should look like below-
View attachment 5378655
Wait until you see "DOWNLOAD OK" popup, then you can unplug and press power button to start your device.
View attachment 5257589
YOU HAVE SUCCESSFULLY DOWNGRADED/UNBRICKED YOU DEVICE.
SPECIAL THANKS TO - daeSundae for Windows method .chaosmaster / k4y0z , xyzz / xyz` , Dinolek , MEGAFON929 & Bjoern Kerler .
Used TOOLS for making this guide -
MTK CLIENT
MTK BYPASS
OFP DECRYPTOR
Click to expand...
Click to collapse
great tool for linux users to unbrick devices with easy way.
Great tool and easy way to unbrick Realme 6/7 from linux without any problem.
confirm working 100% on Realme 7.
Thanks bx2nero.
Thank you for the tools and guide!
Confirmed working on MT6765 device (RMX2189 RealmeC12) using Linux Mint and the firmware provided in an XDA link on the Realme C12 Guides, News and Discussion page.
As a note to myself and others reading this, In Linux Mint, to enable the "universe" repository, I found instructions to enable it in command line from here: https://askubuntu.com/questions/78613/how-do-i-enable-the-universe-repository-from-the-command-line
do you have the RUI2 firmware? or where I can find it?
I get this message
ensarman said:
View attachment 5489967I get this message
Click to expand...
Click to collapse
Read Step 5 again.
bx2nero said:
Read Step 5 again.
Click to expand...
Click to collapse
you are right, I have to select the right download agent, thanks, when I have finished, can I lock the phone again?
ensarman said:
you are right, I have to select the right download agent, thanks, when I have finished, can I lock the phone again?
Click to expand...
Click to collapse
Yes Ofc.
It is not detecting my device. I have been trying to do this but SP Flash tool doesn't launch. After I connect my device, the loading stops, no more activity in the terminal, but it still doesn't launch SPFlashTool. However if I disconnect my device, it does throw the error :
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
After this I cancelled the command and ran ./bypass again. But this time It gave the error :
./bypass: line 62: ./mtk: No such file or directory
and directly started SPFlashTool, without even waiting for me to connect the device like that in the prompt shown in step 4.
Sam 211 said:
It is not detecting my device. I have been trying to do this but SP Flash tool doesn't launch. After I connect my device, the loading stops, no more activity in the terminal, but it still doesn't launch SPFlashTool. However if I disconnect my device, it does throw the error :
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
After this I cancelled the command and ran ./bypass again. But this time It gave the error :
./bypass: line 62: ./mtk: No such file or directory
and directly started SPFlashTool, without even waiting for me to connect the device like that in the prompt shown in step 4.
Click to expand...
Click to collapse
if u are still facing issues .
run
Bash:
./bypass | tee log
and send me the log file.
is it possible to update the latest version after downgrading.
because my realme 6 rmx2001 after downgrade to b.53 and then update to b.65 untill now no latest update of firmware version ui2.0 c.17
Related
The SoupKit
{
"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"
}
What is SoupKit? At it's heart, SoupKit is for those who are tired of messing around with Windows and are ready to do try something that works. It was created to be "sort of" modular in that after the ADB installer has been installed, other Linux scripts can be installed and run from the command line by just typing the name of the script and without worrying about changing directories or dealing with permissions. It's intended to make the transition from Windows to Linux for Android a little bit easier.
How does it work?
The SoupKit ADB Installer --- FOR ALL KINDLE FIRES
This puts everything where it needs to be, installs any necessary dependencies, installs drivers, configures Linux to run adb and fastboot commands, puts the SoupKit in your $PATH and cleans up after itself, all while taking a fraction of the space needed for the Android SDK. What this means for you is, you will be able open any terminal window and start entering adb or fastboot commands immediately. There's no need to change directories, add sudo commands or certain operators that are confusing to command line newbies ( ./ ). You can enter commands just as you see them in tutorials. No more worrying about “ADB Offline”, “Status Unknown” or “List of devices attached ????????????????”. This alone can make a huge difference for anyone having Kindle Fire problems that can't be fixed in Windows or those who are overwhelmed by the technicalities of configuring Linux for Android.
What you need:
First, you need Linux. Don't worry, it's not as bad as you may think.
Luckily, all Linux distros are free to download and install on your computer. It can also be booted from a USB flash drive so you don't have to wipe out your current OS (although you probably should anyway). You can use a VM, but the only VM that I've found that can detect the Kindle Fire in fastboot mode is Parallels. Vmware won't cut it, and VirtualBox sure as hell won't cut it so don't waste your time with them if you ever need to do anything in fastboot (if you're bricked, you need fastboot).
Probably the best method to get Linux running for a new user is by setting up a Linux LiveUSB.
I'm not going to teach you how to set up a Linux LiveUSB, but there are plenty of FREE programs out there that will not only create a Linux LiveUSB for you, but will download your choice of distro as well, and all you need is a USB flash drive (preferably 8GB or larger). A Google search of “Linux LiveUSB” will offer plenty of choices, although, PendriveLinux seems to be a favorite among most. Just be sure to add plenty of “persistence” (1 or more gigabytes) or you will lose everything every time you reboot. And the better quality of flash drive you can use, the better it will be in the long run. Some flash drives just don't do well and can cause some file system corruption over time (not something you want to be dealing with while you're having Kindle Fire problems).
You'll also have to figure out how to boot your computer from a USB. Check your computer's BIOS manufacturer website for instructions on how to do this.
If you're using a LiveUSB, there is no root/sudo password, just hit enter.
Do not use a USB 3.0 port
Once you have Linux installed and booted, you need to make sure your Internet is working. It may take some configuration on your part but it is necessary for the SoupKit to install properly. Luckily, once you have an Internet connection in Linux, the hard part is over.
Don't put the SoupKit.zip on the USB drive before creating the LiveUSB. Instead, use the web browser to navigate to this page and download it once you have Linux running and your Internet connected. Once it's downloaded, you'll likely find it in your Downloads folder.
SoupKit has been tested extensively on all the latest versions of Ubuntu and Mint, but it hasn't really been tested on anything outside of that. Try other distros if you will, but be warned.
To install:
Right-click the “SoupKit.zip”, select “Extract here” open the SoupKit folder and follow the instructions in the README.
Is that all?
NOPE. What SoupKit would be complete without a little something to go with it? SEE POST #2
Due to recent updates, I've decided to remove the option to install Hashcode's 2nd bootloader. There are too many areas where things can go wrong so I think it would be best to let the user follow the small handful of instructions in the 2nd bootloader thread to get it done. IMO, it is not worth the risk to rely on the user to make sure a downgraded stock bootloader is installed before running the script. Plus I think using a script toinstall the downgraded bootloader gives users a false sense of safety in what is potentially very dangerous to do.
ROOT PLUS for 2nd Generation Kindle Fires
That's right. This works for ALL 2nd generation Kindle Fires
What does it do?
The screenshot above should answer that question pretty quickly.
What do you need to know?
Since Hashcode's bootloader hack is device specific, you must download the version for your device. Each one has the exact same script but the stack, boot and recovery images are different for each particular device. You must have the SoupKit installed for this to work properly. It installs in the same way as the SoupKit; unzip, double click, run in terminal, blah blah.
Make sure you have ADB enabled under “Security” in the settings.
Anything else?
At any point after installation, if you need to run the utility again, just type "rootplus" in the terminal.
What's next?
I have a few more things in store for you guys and they will all be made for the SoupKit. As packages are installed, just type the name of the package in any terminal to launch them at any point (hence "modular"). Everything will be easy to install, easy to launch, and new user friendly.
Don't be skerrd. Move out of your comfort zone a little and give Linux and SoupKit a try. I'm sure you won't be disappointed.
Credits:
* Bin4ry - of course, for providing the root exploit
* prokennexusa and his team - for testing this out on all of the second generation devices
* Thepooch - for extensive testing and always being there to lend a hand
Downloads:
SoupKit - http://d-h.st/PbX
RootPlus for all Kindle Fires - http://d-h.st/jOe
Changelog:
04-23-2013 - Update (RootPlus)
* Removed option to install Hashcode's 2nd bootloader, for safety reasons. There is absolutely nothing wrong with Hashcode's 2nd bootloader. The risk lies in recent updates from Amazon.
03-19-2013 - Update + bugfix (RootPlus)
* Fixed issue with 2nd bootloader install - everything works as it should now
* Added timestamp to saved partitions. Gives users the ability to save more than one set of partition images
03-18-2013 - Update: (RootPlus)
* Changed how 2nd bootloader is installed for compatibility with the KF2
* Added ability to update custom recovery. No need to update the script every time a new recovery is released.
* Added ability to choose partition images to be installed if more than one set exist in the BACKUP folder
* More intuitive restore of saved partition images - will hopefully prevent any chance of user error
03-16-2013 - Bugfix: (RootPlus)
* Fixed issue with permissions on the rootplus script
03-10-2013 - Update: (RootPlus)
* Added extra safety measures, including MD5 check on 2nd bootloader install
02-23-2013 - Initial release
worked great. thanks for a great tool. easy to use.
Awesome...thank you..just set this up on my ubuntu netbook...going to try it today when I update twrp
Update 3-10-2013: Added extra safety measures, including MD5 check on 2nd bootloader install
Works great!
ok just got a new laptop and tried installing this and no go. i know its my fault..i have a fresh install of ubuntu 13.04 and i followed the instructions but when i double click the install.sh file all it does is open a document... when i installed this on my netbook with ubuntu 12.10 i had no issue. any help would be appreciated. i am new to linux
wojo797 said:
ok just got a new laptop and tried installing this and no go. i know its my fault..i have a fresh install of ubuntu 13.04 and i followed the instructions but when i double click the install.sh file all it does is open a document... when i installed this on my netbook with ubuntu 12.10 i had no issue. any help would be appreciated. i am new to linux
Click to expand...
Click to collapse
Yeah, when I updated the script, I forgot to change the permissions...
Give me a little while and I'll fix it for you.
3-16-2013: Fixed issue with permissions on the rootplus script
the issue wasnt with the rootplus it was with the soupkit itself the install.sh script
wojo797 said:
the issue wasnt with the rootplus it was with the soupkit itself the install.sh script
Click to expand...
Click to collapse
That's interesting. I checked the permissions for all scripts and executables before uploading.
I just checked on it again and they are all executable. Perhaps it has something to do with your settings or the version of Ubuntu you are using (only tested on 12.10 and earlier).
You can make a file or script executable by entering the following in the terminal:
Code:
sudo chmod a+x <file>
Or you can right-click on the file, select Properties > Permissions > "Allow executing file as program"
[OK thankOTE=soupmagnet;39303980]That's interesting. I checked the permissions for all scripts and executables before uploading.
I just checked on it again and they are all executable. Perhaps it has something to do with your settings or the version of Ubuntu you are using (only tested on 12.10 and earlier).
You can make a file or script executable by entering the following in the terminal:
Code:
sudo chmod a+x <file>
Or you can right-click on the file, select Properties > Permissions > "Allow executing file as program"[/QUOTE]
Ok thank you.. Appreciate the help and all then work...I'll try as soon as possible
03-18-2013 - Update: (RootPlus)
* Changed how 2nd bootloader is installed for compatibility with the KF2
* Added ability to update custom recovery. No need to update the script every time a new recovery is released.
* Added ability to choose partition images to be installed if more than one set exist in the BACKUP folder
* More intuitive restore of saved partition images - will hopefully prevent any chance of user error
03-19-2013 - Update + bugfix (RootPlus)
* Fixed issue with 2nd bootloader install - everything works as it should now
* Added timestamp to saved partitions. Gives users the ability to save more than one set of partition images
If you downloaded yesterday's update, please install this one. There was a bug preventing the 2nd bootloader install. It is fixed now.
Sorry for the inconvenience.
04-23-2013 - Update (RootPlus)
* Removed option to install Hashcode's 2nd bootloader, for safety reasons.
By the way, there is absolutely nothing wrong with Hashcode's 2nd bootloader. The risk lies in recent updates from Amazon and the requirement to downgrade the stock bootloader before continuing with the 2nd bootloader install process.
Hi,
I'm totally new to linux, and i managed to install the latest Linux mint (v14.0) I was also able to connect to the internet and i downloaded both the soupkit and rootplus using linux. I extractred the files and doubled clicked on the install.sh as per the readme file however, after i double click it, all the contents of the folder disappear and i don't get any options as per the readme file. The same happens with the rootplus install.sh file, all the files disappear.
These are the steps i've followed.
Installed Linux Mint v14.0 on the system after making necessary partitions(ext4 journal)
Internet connectivity present.
Downloaded both the files into the downloads folder and extracted them
double clicked on the install.sh file and everything disappeared fro the respective folders.
Please guide me as i'm completely blank here.
Regards,
CD
Hi,
I was able to make it work. Instead of double clicking the .sh file, i opened the terminal window in the extracted folder, got super user access and executed this command:
sh install.sh
So now my kindle is rooted and ads free.
Thanks a lot @soupmagnet.
Regards,
CD
So, is it safe to assume this will work on a Kindle Fire HD 8.9" running 8.3.1 fw? Thanks!
anacondo said:
So, is it safe to assume this will work on a Kindle Fire HD 8.9" running 8.3.1 fw? Thanks!
Click to expand...
Click to collapse
Sorry to answer an old post but yes.
Alright, so let's start the fun
These are the steps i did for successfully unlocking my BL.
I can't and won't guarantee that theese steps are going to work for you. please report back here if it worked for you or not and please post also the buy-date of your phone
it might be possible that this works for other firmwares too, please try and report back here thanks
Requirements
- a Linux distro (mine is Xubuntu 12.10, but should work on every Linux OS)
- a working and updated ADB (for installing ADB, search for tuts here on xda )
- a unlockable firmware (preferably ANEUBK)
- be willing to recycle all your warranty papers
- and most important: a brain with the ability to read
The steps
1) charge your phone to 100%
2) connect your phone in LG software mode
3) if you have the path to your adb defined, then goto 3a). if not, then goto 3b)
3a) open a terminal and type
Code:
adb reboot oem-unlock
{
"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"
}
3b) open a terminal and type
Code:
cd ~/android-sdk/platform-tools
(if you've installed the android-sdk in your home directory under "android-sdk". if not, change it to the directory you've installed it)
then type
Code:
adb reboot oem-unlock
4) now you should see this on your phone:
do i wanna unlock it? of course i do so press the vol + button ATTENTION: there is no further warning, your whole /data/ partition will be formatted!!!
5) now you should see this, and your BL is unlocked and your /data/ partition is wiped
6) now pull out your usb cable and your battery, too
7) put your battery back in and boot
8) set up your system
9) now go to the hidden menu and check your BL status (dialer: 3845#*880# --> Bootloader Unlock Check --> Bootloader Unlock Check --> Unlock)
10) do the harlem shake and be happy about your unlocked BL
and please, don't post "thanks" if i've helped you, just hit the thanks button
Does it applies on 234 devices too? I ll not have access on a linux pc till monday!
Cool dude, thanks.
Do you think its possible to do this with those bootable Linux OS cd (so i dont have to install linux on my hd just for dooing that) ?
Do you loose the unlocked BL if you install another KDZ after the unlocking?
Someone know why not working on every windows?
I have the android sdk installed and the same procedure worked for me without linux.
nikosblade said:
Does it applies on 234 devices too? I ll not have access on a linux pc till monday!
Click to expand...
Click to collapse
i honestly don't know try it, like i've said, give it a try and report back
profyler said:
Cool dude, thanks.
Do you think its possible to do this with those bootable Linux OS cd (so i dont have to install linux on my hd just for dooing that) ?
Do you loose the unlocked BL if you install another KDZ after the unlocking?
Click to expand...
Click to collapse
hmmm, possible? maybe, but this would be extremely slow, cause you've gotta get adb working first and so on. so i'd say it won't work, but not sure.
but some distros have got the ability to install them as a "windows prog", this creates a virtual harddrive where linux can be booted from, so no need for reformatting the hdd just google about it
some users reported that it will not be lost after flashing a kdz. but also here: not sure, cause i haven't tried it myself yet (my BL is now unlocked for about 3h yet )
verlol said:
Someone know why not working on every windows?
I have the android sdk installed and the same procedure worked for me without linux.
Click to expand...
Click to collapse
i guess it is driver related... what firmware do you use? german or euro-open?
laufersteppenwolf said:
View attachment 1861354
Click to expand...
Click to collapse
This "final" screen I can confirm on my 262-000 from Amazon. I used Windows and http://forum.xda-developers.com/attachment.php?attachmentid=1859693&d=1365149301 for the ADB driver but the same method. It takes like 2sec to do! I installed CWM etc. fine afterwards!! Thank you!
Security error
I don't get the screen like in 4)
I just get Security Error, any ideas?
Don't work with ADEUBK 262 000
I can only unlock with the china 20a.
mrlollog said:
I don't get the screen like in 4)
I just get Security Error, any ideas?
Click to expand...
Click to collapse
This is not universal, seems with latest update LG showed some mercy on German users...rest can feel screwed all over again
F*ck you LG retards they are only good if Google screws them good, who's your papa :silly:
On 234 this didn't work with Linux and the leaked 20A.
I might try later to update the phone (GBR) with the official one but I wouldn't hold my breath.
Sent from my Nexus 7 using Tapatalk 2
laufersteppenwolf said:
i guess it is driver related... what firmware do you use? german or euro-open?
Click to expand...
Click to collapse
I use euro-open.
If its driver related, which driver is needed?
I only know of the Google USB Driver for the Android Composite ADB Interface.
Not works (on linux vitural machine ) The pone says ... Lg Security error...
me too
I do not get unlock
tiflao said:
Not works (on linux vitural machine ) The pone says ... Lg Security error...
Click to expand...
Click to collapse
same here, on win or on vm i got this error ...... (262-00)
when you get " Lg Security error..." is the phone bricked or you just need to pull the battery and reboot and than its fine again?
DavidXanatos said:
when you get " Lg Security error..." is the phone bricked or you just need to pull the battery and reboot and than its fine again?
Click to expand...
Click to collapse
The Phone reboots after ~5 secs.
laufersteppenwolf said:
Alright, so let's start the fun
These are the steps i did for successfully unlocking my BL.
I can't and won't guarantee that theese steps are going to work for you. please report back here if it worked for you or not
it might be possible that this works for other firmwares too, please try and report back here thanks
Requirements
- a Linux distro (mine is Xubuntu 12.10, but should work on every Linux OS)
- a working and updated ADB (for installing ADB, search for tuts here on xda )
- a unlockable firmware (preferably ANEUBK)
- be willing to recycle all your warranty papers
- and most important: a brain with the ability to read
The steps
1) charge your phone to 100%
2) connect your phone in LG software mode
3) if you have the path to your adb defined, then goto 3a). if not, then goto 3b)
3a) open a terminal and type
Code:
adb reboot oem-unlock
View attachment 1861346
3b) open a terminal and type
Code:
cd ~/android-sdk/platform-tools
(if you've installed the android-sdk in your home directory under "android-sdk". if not, change it to the directory you've installed it)
then type
Code:
adb reboot oem-unlock
View attachment 1861348
View attachment 1861349
4) now you should see this on your phone:
View attachment 1861353
do i wanna unlock it? of course i do so press the vol + button ATTENTION: there is no further warning, your whole /data/ partition will be formatted!!!
5) now you should see this, and your BL is unlocked and your /data/ partition is wiped
View attachment 1861354
6) now pull out your usb cable and your battery, too
7) put your battery back in and boot
8) set up your system
9) now go to the hidden menu and check your BL status (dialer: 3845#*880# --> Bootloader Unlock Check --> Bootloader Unlock Check --> Unlock)
View attachment 1861355
10) do the harlem shake and be happy about your unlocked BL
and please, don't post "thanks" if i've helped you, just hit the thanks button
Click to expand...
Click to collapse
Thanks for the tutorial - but can you explain why is this just working on a Linux OS ? I mean what's the difference between trying to unlock the BL on a Win7/8 OS or a Linux OS ?
THanks
DavidXanatos said:
when you get " Lg Security error..." is the phone bricked or you just need to pull the battery and reboot and than its fine again?
Click to expand...
Click to collapse
Sometimes is semi-bricked, specialy after the "morning-call empty"
Don't worry, re-flashing will solve the problem.
I tried the below method and it successfully worked on my canvas a1(sprout 4) android 6.0.1
1.install linux deploy app from play storeclick here
2.open it, in properties, select your distribution(kali linux).
3.for armv7 cpu, select arhmf and for older select other options in architecture.
4.(optional)select gnome in desktop environment if you want pc like experience otherwise leave all settings default.
5.you need atleast 4 gb on your ext sd card (or internal) and a good wifi connection.
6. click on install button at the top.
7. app will start its process, and will take from 30MIN to 2 hours depending on your wifi speed.
8.after the process finishes,( with command <<install at the end), download bvnc click here and juice ssh click here from playstore. bvnc is required for graphical vnc session and ssh for terminal only session.
9.in linux deploy, click on start button, and it will tell you ports for both vnc and ssh sessions. ip address is listed on top of linux deply app. default username and password for both the sessions is 'android' and 'changeme' resp..
10. open bvnc(or juicessh) and enter your ip in address or hostname field and port no. in port field and your username and pasword as written in step 9.
11. click connect and enjoy kali linux on your android phone.
note* linux that will be installed is without any tools. just dowload them from putting apt_get install yourtoolname in the terminal.
this is my first post , i regret any inconviniece .
THERE WILL BE NO FACTORY RESET OR DATA LOST. THIS PROCESS IS ALMOST BUGFREE IF DONE PROPERLY.
HIT THANKS IF IT HELPED:laugh::laugh:
{
"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"
}
official link (official kali.org guide) https://www.kali.org/tutorials/kali-linux-android-linux-deploy/
*NOTE:INSTALL MEEFIK BUSYBOX FROM PLAYSTORE FOR LATEST VERSION OF LINUX DEPLOY(THE OTHER BUSYBOX WILL NOT WORK)
LINK TO MEEFIK BUSYBOX..HERE
Ss please
Bro can you please help me I have a sprout 4 running on marshmallow 6.0 I have all apps you say . and doing everything same but after all process when I press start button its show me a ssh and vnc both are faild to open what I do for this. Plz help I want kali Linux in my Android one..a
Sent from my Micromax AQ4501 using XDA Forums
manishsarkar2017 said:
Bro can you please help me I have a sprout 4 running on marshmallow 6.0 I have all apps you say . and doing everything same but after all process when I press start button its show me a ssh and vnc both are faild to open what I do for this. Plz help I want kali Linux in my Android one..a
Sent from my Micromax AQ4501 using XDA Forums
Click to expand...
Click to collapse
ok, possible reasons for this are:
1. linux deploy hasn't been granted su permission. check for it.
2. installation not done properly. please click on reconfigure (with proper internet connection) and see if it downloads some other important things that you may have missed in installation.
3.then click on start. poth the ports should open now. if they doesn't, that means you have not installed them properly.
you have to delete your previous linux.img and create a new one with proper installation.
click thanks if it helped. it really works,:laugh: my all freinds use kali on their android.
Nice thread,
yash sharma100 said:
ok, possible reasons for this are:
1. linux deploy hasn't been granted su permission. check for it.
2. installation not done properly. please click on reconfigure (with proper internet connection) and see if it downloads some other important things that you may have missed in installation.
3.then click on start. poth the ports should open now. if they doesn't, that means you have not installed them properly.
you have to delete your previous linux.img and create a new one with proper installation.
click thanks if it helped. it really works,:laugh: my all freinds use kali on their android.
Click to expand...
Click to collapse
Can i do panatrck testing after linux install...
Bro one base file download faild and its not download after reconfuger how to download perfactly can you tell me on whatsapp plz +919654143486 fast plz...
I can't install, both dns & mtab were fail. Running on custom stock rom MM 6.0 V30B already rooted, device LG G3 D855. Plz help
Edit: i can installed dns & mtab btw still can't vnc & ssh
dursosono said:
I can't install, both dns & mtab were fail. Running on custom stock rom MM 6.0 V30B already rooted, device LG G3 D855. Plz help
Edit: i can installed dns & mtab btw still can't vnc & ssh
Click to expand...
Click to collapse
can you please send me a screenshot of error?
manishsarkar2017 said:
Bro one base file download faild and its not download after reconfuger how to download perfactly can you tell me on whatsapp plz +919654143486 fast plz...
Click to expand...
Click to collapse
please upload a screenshot of your problem so can undrstand it correctly.
plz help in asus zenfone 2
[email protected]:~$ su
Password:
su: Authentication failure
[email protected]:~$ sudo -i
sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
[email protected]:~$
And now ?
it shows
when we type
sudo passwd
it shows
sudo effective uid is not 0 is /usr/bin/sudo on a filesystem with the 'nosuid'
plz help bro
tnx.....
I have successfully installed Kali Linux but without tools ...bro can u tell me which screen size better for android one for Kali linux
default settings are best
manishsarkar2017 said:
I have successfully installed Kali Linux but without tools ...bro can u tell me which screen size better for android one for Kali linux
Click to expand...
Click to collapse
default settings are best.
.
jakustar007 said:
[email protected]:~$ su
Password:
su: Authentication failure
[email protected]:~$ sudo -i
sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
[email protected]:~$
And now ?
it shows
when we type
sudo passwd
it shows
sudo effective uid is not 0 is /usr/bin/sudo on a filesystem with the 'nosuid'
plz help bro
tnx.....
Click to expand...
Click to collapse
try sudo su
Thx..dude...can u plz contact wid me....
yash sharma100 said:
I tried the below method and it successfully worked on my canvas a1(sprout 4) android 6.0.1
1.install linux deploy app from play storeclick here
2.open it, in properties, select your distribution(kali linux).
3.for armv7 cpu, select arhmf and for older select other options in architecture.
4.(optional)select gnome in desktop environment if you want pc like experience otherwise leave all settings default.
5.you need atleast 4 gb on your ext sd card (or internal) and a good wifi connection.
6. click on install button at the top.
7. app will start its process, and will take from 30MIN to 2 hours depending on your wifi speed.
8.after the process finishes,( with command <<install at the end), download bvnc click here and juice ssh click here from playstore. bvnc is required for graphical vnc session and ssh for terminal only session.
9.in linux deploy, click on start button, and it will tell you ports for both vnc and ssh sessions. ip address is listed on top of linux deply app. default username and password for both the sessions is 'android' and 'changeme' resp..
10. open bvnc(or juicessh) and enter your ip in address or hostname field and port no. in port field and your username and pasword as written in step 9.
11. click connect and enjoy kali linux on your android phone.
note* linux that will be installed is without any tools. just dowload them from putting apt_get install yourtoolname in the terminal.
this is my first post , i regret any inconviniece .
THERE WILL BE NO FACTORY RESET OR DATA LOST. THIS PROCESS IS ALMOST BUGFREE IF DONE PROPERLY.
HIT THANKS IF IT HELPED:laugh::laugh:
official link (official kali.org guide) https://www.kali.org/tutorials/kali-linux-android-linux-deploy/
*NOTE:INSTALL MEEFIK BUSYBOX FROM PLAYSTORE FOR LATEST VERSION OF LINUX DEPLOY(THE OTHER BUSYBOX WILL NOT WORK)
LINK TO MEEFIK BUSYBOX..HERE
Click to expand...
Click to collapse
Hai
I had some issues in VNC (kali) give black and grey screen I do all good plz give some good and to solve this out using mi4w Xiaomi
Failed
Hello, help me plz i want to install kali linux but cant bcouz the ar cant found
Can't install kali linux on htc one
My HTC One having viper one rom .when I was trying to install it shows
Update configuration file ........done
Segmentation fault
Please help me.
This is android one oem cross development community thread . Go find your own community .
---------- Post added at 03:57 PM ---------- Previous post was at 03:27 PM ----------
what do i write in vnc server ?
dursosono said:
I can't install, both dns & mtab were fail. Running on custom stock rom MM 6.0 V30B already rooted, device LG G3 D855. Plz help
Edit: i can installed dns & mtab btw still can't vnc & ssh
Click to expand...
Click to collapse
same problem here too unable to start services vnc and ssh fail
HTC desire 816
Code:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Everything you do, !!
!! you do at your own peril and risk. !!
!! !!
!! I do not bear any responsibility !!
!! for your faulty devices. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! !!
!! THIS ROM IS ONLY FOR THE EXYNOS VERSION !!
!! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
First I would like to thank NoKit, monich, elros34 and all the Sailfish OS porter guys who helped me to make this port.
Thank you very much guys!
News 05/03/2023: OTA to SFOS 4.5.0.18
26/10/2022: OTA to SFOS 4.4.0.72
14/07/2022: OTA to SFOS 4.4.0.68
08/06/2022: OTA to SFOS 4.4.0.64
30/05/2022: OTA to SFOS 4.3 & 4.4
22/02/2022: OTA to SFOS 4.2
16/10/2021: Waydroid on Galaxy Note4 (SFOS 4.1)
03/09/2021: OTA to SFOS 4.1
23/03/2021: OTA to SFOS 4.0
Requirements:
Before you start to download anything, please read all this through carefully.
The first requirement is your device must be rooted and you should be able to install a custom recovery (preferably TWRP) onto it.
Installation instructions:
1. Download all files, LOS14.1 zip, Sailfish OS zip and twrp2.8.7.img to the external SD card on the phone
2. Reboot into TWRP (Hold buttons: Power on + Home + Volume up)
At this point you should install TWRP 2.8.7 as the installation work the best with this recovery.
Once you flashed TWRP 2.8.7, please reboot into recovery and continue the process.
3. Do a factory reset
4. Still in recovery, flash the LOS14.1 image
5. Still in recovery, flash Sailfish Os image
8. Reboot
9. Enjoy the latest (3.3.0.16) Sailfish OS on your Note 4 (treltexx).
You will need patience as the first boot will take for a while. Then you can go through the initial Sailfish OS set up.
This Sailfish OS Android HAL based on LOS 14.1.
Downloads:
twrp2.8.7.img for Note 4 (treltexx)
LOS14.1 for Note 4 (treltexx)
Sailfish OS 4.5.0.18 for Note 4 (treltexx) - 05/03/2023
Sailfish OS 4.4.0.72 for Note 4 (treltexx) - 26/10/2022
Sailfish OS 4.4.0.68 for Note 4 (treltexx) - 13/07/2022
Sailfish OS 4.1.0.24 for Note 4 (treltexx) - 09/09/2021
Sailfish OS 3.3.0.16 for Note 4 (treltexx) - 09/10/2020
Boot logo updater for Note4 (treltexx)
kernel for lxc support (this kernel is only for sfos 3.3, the newer OTA updates all have this support!)
fix for 'Private number' calls
Problems/Solutions:
Problem: LXC container doesn't start on any of these two builds.
Solution: In TWRP install the kernel for lxc support. (This will be included into a later build.)
Problem: Incoming calls are not displaying the number only the 'Private call' text.
Solution: Install the fix for 'Private number' calls rpm. (This will be included into a later build.)
Some useful patches:
Patchmanager 3.0
More folder icons
Operator name at bottom (Stopped working on 3.3.0.16)
Silica mail (transparent background) - Well documented here
Apps from Openrepos
Apart from the Jolla store there are plenty of other, community made apps in Openrepos. There is a user-friendly app to install/remove apps from this source called Storeman. It can be downloaded and install from this location: Storeman
Debug/login/troubleshooting:
In Ubuntu, connect USB cable. telnet 192.168.2.15 2323 or SSH [email protected].
Notes:
On Sailfish OS, as it is a Linux system, you cannot install/run any android apps.
How to make a backup/restore with TWRP:
You can boot into TWRP with the usual button combination (Hold buttons: Power on + Home + Volume up) and can make backup/restore.
Battery life
In my experience this build gives a very good battery life (I've tested with a new battery and it drops beteen 5% - 10% overnight with wifi on)
Changelog:
10.10.2020
=========
Custom (Sailfish OS) boot logo
09.10.2020
=========
Sound fix is included, it works out of the box
GPS fixed!
S-Pen works as a mouse! To make the cursor visible (thanks for elros34!) you need to install:
Patchmanager 3 from openrepos
mousetracker
amend '/var/lib/environment/compositor/droid-hal-device.conf' file, add the -plugin evdevmouse:abs:/dev/input/event3 to the end of LIPSTICK_OPTIONS. (That line should look like this:
Code:
LIPSTICK_OPTIONS=-plugin evdevtouch -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap -plugin evdevmouse:abs:/dev/input/event3
as final step apply the moustracker patch in Settings/Patchmanager, then restart the services (pulley menu in Patchmanager) or reboot, then pull out the S-Pen and use it as a stylus/mouse.
(Note: As patchmanager doesn't yet work when the default user is defaultuser, the instruction above works only on sfos 3.3.0.16 or the OTA updated 4.0.1.48. On fresh sfos 4.0.1.48 install you need to install mousetracker and manually apply the patch from it.)
28.09.2020
=========
Work:
Screen
Touch
IMEI number is detected
Sensors (Rotation, Acceleration, Gyroscope, Magnetometer, Light & Proximity)
GPS (The permanent solution will be included in a future build. Now, the workaround is (do it only once): as root delete the folder /data/system/gps and then reboot. GPS should start working)
Notification LEDs (white, green, blue, red)
Wifi
MTP
Bluetooth
Calls incoming/outgoing
Messages incoming/outgoing
Mobile data
External SD card detected and mounted to /run/media/nemo/_sdcard_name_ (where _sdcard_name_ is the name of the sd card when it was formatted like 4B93-785B)
Home button and the Back soft button
Vibra
Pixel ratio and icons set to 2.00
Audio is routed to headphone if that presents
Camera front/rear
Video recording (only on the rear camera)
Jolla store (please skip the account creating/adding in the initial setup)
findutils is installed by default (updatedb and locate commands work out of the box)
Torch
can boot into TWRP recovery with the usual button combination (hold buttons: Power on + Home + Volume up)
Low Power Mode (AKA "sneak peek" or "ambient display") works (install instruction is in this post)
Sound - Please download the 'Sound fix script for Note4 (treltexx)' and save it into /home/nemo/Download, then give it executable permission and run as root or do the following:
Download the 'Sound fix script for Note4 (treltexx)' and save it into /home/nemo/Download
goto Settings/Developer tools, enter a Password and save it
start the Fingerterm app and within, issue the following commands
devel-su (press enter, then enter the password you set)
chmod +x /home/nemo/Download/soundfix-treltexx.sh
/home/nemo/Download/./soundfix-treltexx.sh
Do not work:
USB mode selection from Settings (workaround: as root run 'systemctl restart usb-moded' command)
Video recording on the front camera
Video playback in Gallery app (You can use Kodi for playing videos)
Internal SD card is not mounted to /android
S-Pen WIP
Extra 1: Change boot logo, Download warning image, Charring image and Download image for Sailfish OS like.
Simply download the Note4-Boot-Logo-Updater_by_edp17.zip from the download section and flash it with TWRP.
Important!: Once the zip is flashed, boot into recovery again, then you can boot into Sailfish OS.
To revert these images back to original:
Download the original param.bin and flash it with heimdal:
Code:
heimdall flash --PARAM param.bin
Inspired by this post
Extra 2: Desktop Linux distro install/run on the Note 4!
1. First flash the kernel from the Downloads section (in a later build this kernel will be included)
2. Install all the following packages:
lxc
lxc-templates
nemo-qml-plugin-dbus-qt5
sailfish-polkit-agent
python3-base
python3-gobject
dbus-python3
lxc-templates-desktop
qxdisplay
harbour-containers
mouse cursor support for SFOS and LXC
3. Once the packages are installed, fire up the LXC and install a distro into it (e.g. Debian SID)
On the Note 4 the harbour-containers GUI doesn't work properly. Fortunately the desktop distro installation can be done from a command line. Here are the steps:
sudo lxc-create -t sfos-download -n mycontainer
follow the instruction and set the distribution (e.g. debian) then the version (e.g. sid) then the architecture (armhf)
example command: sudo lxc-create -t sfos-download -n mycontainer -- --arch armhf --dist debian --release sid
sudo lxc-start -n mycontainer
sudo lxc-attach -n mycontainer
then within the container:
/mnt/guest/setup_desktop.sh
/mnt/guest/setups/debian.sh
4. Once the Desktop distro is installed you can start:
I recommend to use one of these scripts as they save a little time. (Note: You need sudo installed and configured for these scripts!)
Start LXC and desktop in landscape mode with mouse support: debian-mouse-landscape.sh
Start LXC and desktop in portrait mode with mouse support: debian-mouse-portrait.sh
Start LXC and desktop without mouse support: debian.sh
5. Enjoy.
6. More info about the Full linux distros on Sailfish OS.
Pictures:
{
"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"
}
Custom boot logo and other pictures:
Looks really good, have you posted the source on github or anywhere? I made a port of UT for the snapdragon note 4 and would like to make one for the exynos variant
tigerpro357 said:
Looks really good, have you posted the source on github or anywhere? I made a port of UT for the snapdragon note 4 and would like to make one for the exynos variant
Click to expand...
Click to collapse
Yes, all sources are available on github: here
Please let me know when the UT is available for this device! I'd like to try it.
calls not work
Oh, it's you again dude That is AWESOME
lee.wp14 said:
Oh, it's you again dude That is AWESOME
Click to expand...
Click to collapse
I am still chasing my n7000. Once I got that I will complete that port too. Will let you know.
usaman65 said:
calls not work
Click to expand...
Click to collapse
What variant of Note 4 is that? This port is for the European Exynos version (SM-N910C).
edp17 said:
What variant of Note 4 is that? This port is for the European Exynos version (SM-N910C).
Click to expand...
Click to collapse
test on n910c .sound also not work
usaman65 said:
test on n910c .sound also not work
Click to expand...
Click to collapse
Yeah, I installed the build again and tested these. I can confirm these do not work. Hmm, all those worked fine on all previous builds, so I am not sure why the stopped working. It seems permission issue to me. I double check and will come back with a solution. Thanks for reporting!
edp17 said:
Yeah, I installed the build again and tested these. I can confirm these do not work. Hmm, all those worked fine on all previous builds, so I am not sure why the stopped working. It seems permission issue to me. I double check and will come back with a solution. Thanks for reporting!
Click to expand...
Click to collapse
any patch possible for android apps ?
usaman65 said:
test on n910c .sound also not work
Click to expand...
Click to collapse
I have figured out a solution to the sound issue. It was me forgot to include this into this build. I will add it into a later one. Until then, please follow the instruction from the main post. (I added a script into the Download section and a comment how to apply it.)
For me, this fix solved the issues with calls and torch too.
edp17 said:
I have figured out a solution to the sound issue. It was me forgot to include this into this build. I will add it into a later one. Until then, please follow the instruction from the main post. (I added a script into the Download section and a comment how to apply it.)
For me, this fix solved the issues with calls and torch too.
Click to expand...
Click to collapse
thanks its fix now .tuch missing some time while tipping
who to install lxc for desktop linux .nothing find on google
usaman65 said:
who to install lxc for desktop linux .nothing find on google
Click to expand...
Click to collapse
How do you mean? There is instruction in the first post and there is a link to the main post of lxc (option 5).
edp17 said:
How do you mean? There is insttuction in the first post and there is a link to the main post of lxc (option 5).
Click to expand...
Click to collapse
there is a link but cannot find all required files .and how to fire lxc ...? cannot find harbour-containers .there is a link but cannot instaled it
usaman65 said:
any patch possible for android apps ?
Click to expand...
Click to collapse
No, none of the community ports have support for android apps. However you can install a desktop linux and can run desktop apps. (Although very few is touch control friendly.) Instruction for how to install a desktop distro on this device is available in the main post.
usaman65 said:
there is a link but cannot find all required files .and how to fire lxc ...? cannot find harbour-containers .there is a link but cannot instaled it
Click to expand...
Click to collapse
The link to the harbour-container is in the 'Extra: Desktop Linux distro install/run on the Note 4!' section (main post).
Although, here is how to install it, follow these steps:
download the 'harbour-containers-0.4-1.armv7hl.rpm' from this link.
open a terminal (Fingerterm)
type: devel-su (then press enter, then type your password and press enter again)
go to the library where you downloaded the rpm file
type: pkcon install-local harbour-containers-0.4-1.armv7hl.rpm (then press enter)
!Note: Before installing the harbour-container, you need to install ALL the other packages that are listed in the 'Extra: Desktop Linux distro install/run on the Note 4!' section (main post).
There is a full topic about all of this (also provided in the main post) here.
Does it work on note 4 n910v verizon?
Hola117 said:
Does it work on note 4 n910v verizon?
Click to expand...
Click to collapse
I think the N910V is not an Exynos but a Snapdragon device. This means, no, this port won't work on that. Sorry.
edp17 said:
I think the N910V is not an Exynos but a Snapdragon device. This means, no, this port won't work on that. Sorry.
Click to expand...
Click to collapse
you are correct, the 910V is a snapdragon device, its actually what I used to do my Ubuntu Touch port, BTW, I am still going to do a exynos note 4 UT port, just been busy
Donate a coffee to support development:
Donate via PayPal to serdeliuk
_______________________________
[UPDATE 22 Jan 2022]
- partial fix for ACPI tables which allow to boot windows
- added startup.nsh to automatically run in shell
-----
Hello,
I started to port EDK2 to my Lavender, Xiaomi Redmi Note 7 in order to bring Windows to this device.
So far i was able to fix ClockDxe that makes, for the first time, the eMMC working on a EDK2 port.
The device is able to boot Windows PE from eMMC
I am still working to fix USB for boot, mouse and keyboard in the first phase.
Anyone interested can download my buttons and clocks patches and build his own EDK2 port from my GitHub repo at https://github.com/serdeliuk/edk2-lavender
Best regards,
Marc
{
"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"
}
Enable Debug
hello, I tried to compile, all look normal but on the end this happend
I do not know what is wrong, please can you help me.
Samuel Ladziansky said:
hello, I tried to compile, all look normal but on the end this happend
View attachment 5469915
I do not know what is wrong, please can you help me.
Click to expand...
Click to collapse
Hi,
You may need to edit edk2-lavender/RedmiNote7Pkg/RedmiNote7Pkg.dsc
and uncomment the line below that contain RegisterFilterLib
Code:
[LibraryClasses]
# RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
serdeliuk said:
Hi,
You may need to edit edk2-lavender/RedmiNote7Pkg/RedmiNote7Pkg.dsc
and uncomment the line below that contain RegisterFilterLib
Code:
[LibraryClasses]
# RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
Click to expand...
Click to collapse
Thanks I go to try it
Now it compiled and I tried to boot via "fastboot boot uefi.img" but nothing shows, after that I flashed it to boot partition and still nothing, I need put some operating system on some partition because it tries booting something? Or is something other wrong.
Thanks for reply.
Now works I use wrong (older) version of xbl.
Samuel Ladziansky said:
Now it compiled and I tried to boot via "fastboot boot uefi.img" but nothing shows, after that I flashed it to boot partition and still nothing, I need put some operating system on some partition because it tries booting something? Or is something other wrong.
Thanks for reply.
Click to expand...
Click to collapse
I suppose that you have xiaomi redmi note 7 (lavender) right? If so, the uefi.img should properly boot to uefi shell, if you have a fat32 efi partition on your device with windows will try to load that windows, but the actual state of acpi tables freezes windows during boot.
You may need to enable serialframebuffer and properly set the edk2 debug level to see what is going on.
Yes, I have redmi note 7 (lavender), I tried boot windows and what you said happened, windows freze at boot.
And I do not know where I enable serialframebuffer or set that debug level. I gonna try to find it.
Samuel Ladziansky said:
Yes, I have redmi note 7 (lavender), I tried boot windows and what you said happened, windows freze at boot.
And I do not know where I enable serialframebuffer or set that debug level. I gonna try to find it.
Click to expand...
Click to collapse
good, then you need to replace acpi tables from RedmiNote7Pkg/AcpiTables with the ones from msm8998 then modify the edk2- lavender/RedmiNote7Pkg/RedmiNote7Pkg.fdf accordingly, yo ucan take whole acpitable section from msm8998 edk2 port, right now i am not yet done with my acpitable, but that one should work
1. Install dependencies
```
# On Ubuntu 18.04
sudo apt install -y build-essential uuid-dev iasl git nasm python3-distutils gcc-aarch64-linux-gnu abootimg bspatch p7zip-full zip python-pip
```
```
# On Debian 11
sudo apt install -y build-essential uuid-dev iasl git nasm python3-distutils gcc-aarch64-linux-gnu abootimg bspatch p7zip-full zip pip
```
```
sudo pip install uefi_firmware
```
2. Clone edk2 and edk2-platforms repositories
```
git clone https://github.com/tianocore/edk2.git --recursive
git clone https://github.com/tianocore/edk2-platforms.git
```
3. Download Released File and Unzip
```
wget https://github.com/serdeliuk/edk2-lavender/releases/download/2/edk2-lavender.0.0.2.zip
unzip edk2-lavender.0.0.2.zip
```
4. Edit ` edk2-lavender/RedmiNote7Pkg/RedmiNote7Pkg.dsc`. uncomment the line below that contain RegisterFilterLib
```
[LibraryClasses]
# RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
```
```
[LibraryClasses]
RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
```
5. Place your `xbl.elf` extracted from a firmware update in xbl folder
6. Run `bash xbl-extract.sh` inside xbl folder
7. Run `bash xbl-extract.sh` inside xbl folder
8. Run ` make -C your_path/edk2-lavender/../edk2/BaseTools/Source/C `
9. Run ` bash build.sh `
10. Run ` fastboot flash boot uefi.img `
Samuel Ladziansky said:
Yes, I have redmi note 7 (lavender), I tried boot windows and what you said happened, windows freze at boot.
And I do not know where I enable serialframebuffer or set that debug level. I gonna try to find it.
Click to expand...
Click to collapse
Acpi is broken in this port. So you can use this port: https://github.com/XRedCubeX/edk2-jasmine
Delete jasmine_sprout.dtb, copy lavender.dtb from edk2-lavender to edk2-jasmine and rename lavender.dtb as jasmine_sprout.dtb. Then compile. Windows should boot.
mark251107 said:
Acpi is broken in this port. So you can use this port: https://github.com/XRedCubeX/edk2-jasmine
Delete jasmine_sprout.dtb, copy lavender.dtb from edk2-lavender to edk2-jasmine and rename lavender.dtb as jasmine_sprout.dtb. Then compile. Windows should boot.
Click to expand...
Click to collapse
Thanks, the ACPI problem was explained in post #9, if you have a fix for ACPI tables, other than to suggest to use different repo for a different device please share with us?
I have published a new release that has a partial fix for ACPI tables which allow to boot windows, also added startup.nsh to automatically run in shell
hello again
I tried to replace those ACPI tables as just the folder where they were, but it still didn't work for me and later I didn't have time to try it again.
But still, even though I compiled this new version, I can't boot windows. I added "UseBootProcessorOnly" to the BCD as Fxsheep wrote on his port on MI6. So far I've been trying to boot from BOOT.WIM but it's stuck on the windows logo, now I'm going to try to extract the wim file into the userdata partition and modify the BCD to boot it. I hope it will run.
theory one:
I think when I tried to boot from wim file once when is loaded in to memory and logo shows up, the memory just gone or lost that files.
theory 2:
Can the windows get stuck on bootlogo beause I have inserted SD Card? I asking because I do not know if windows get access to the device or it have bad information about that.
I come across the fact that whether by chance there is the same effect as when the HDD is damaged on the PC and the BIOS / UEFI will remain chopped on the first screen, if you know what I mean
Samuel Ladziansky said:
hello again
I tried to replace those ACPI tables as just the folder where they were, but it still didn't work for me and later I didn't have time to try it again.
But still, even though I compiled this new version, I can't boot windows. I added "UseBootProcessorOnly" to the BCD as Fxsheep wrote on his port on MI6. So far I've been trying to boot from BOOT.WIM but it's stuck on the windows logo, now I'm going to try to extract the wim file into the userdata partition and modify the BCD to boot it. I hope it will run.
theory one:
I think when I tried to boot from wim file once when is loaded in to memory and logo shows up, the memory just gone or lost that files.
theory 2:
Can the windows get stuck on bootlogo beause I have inserted SD Card? I asking because I do not know if windows get access to the device or it have bad information about that.
I come across the fact that whether by chance there is the same effect as when the HDD is damaged on the PC and the BIOS / UEFI will remain chopped on the first screen, if you know what I mean
Click to expand...
Click to collapse
I just re-tested the edk2-lavender.0.0.3.zip version, should work out of the box, see the image, that windows was just booted now
You must have EFI folder and should be complete, you can find a minimal bootable winPE as the one i used in the attached image to test, i cant recall where i found the minimal winPE iso image.....
Also, you can test the installer itself download win10iso with hXXs://uupdump.net/ then mount the iso, copy EFI folder and all other folders to your fat32 partition the installer should boot
I added an sdcard too, does not matter, windows boot
I have iso from that page and I trying. So you did not change any BCD or other files, and how long time to take boot?
by the way it so cool see Rn7 with windows booted
serdeliuk said:
I just re-tested the edk2-lavender.0.0.3.zip version, should work out of the box, see the image, that windows was just booted now
You must have EFI folder and should be complete, you can find a minimal bootable winPE as the one i used in the attached image to test, i cant recall where i found the minimal winPE iso image.....
Also, you can test the installer itself download win10iso with hXXs://uupdump.net/ then mount the iso, copy EFI folder and all other folders to your fat32 partition the installer should boot
View attachment 5519759
Click to expand...
Click to collapse
I will write when I can boot it.
thanks for help
Samuel Ladziansky said:
I will write when I can boot it.
thanks for help
Click to expand...
Click to collapse
that full desktop from the previous image take approx 80 seconds from phone startup (volUP+power) to complete desktop load (full taskbar)
i tested the windows installer, untouched, should boot, that image (win10desktop) is as ii was downloaded, the winPE image the 200MB one ( the one just with terminal) should boot untouched too, please be sure you use v.0.0.3 and not use files from that version copied to another version, possible i changed a lot in fdf/dsc files
serdeliuk said:
that full desktop from the previous image take approx 80 seconds from phone startup (volUP+power) to complete desktop load (full taskbar)
i tested the windows installer, untouched, should boot, that image (win10desktop) is as ii was downloaded, the winPE image the 200MB one ( the one just with terminal) should boot untouched too, please be sure you use v.0.0.3 and not use files from that version copied to another version, possible i changed a lot in fdf/dsc files
Click to expand...
Click to collapse
Is mater where I flash the uefi.img? I have flashed it in to boot partition, but you say (volUP+power) thats for recovery.
+ I get in to this stage.