yashsingh1/xdaforums huggingface dataset:
[MeMO Pad 7 General] Mis012:
Than take a look at my dual boot tuturial and from there you just put unlocked bootloader in the Intel folder with some other name like unlocked_efilinux.efi and obviously let the boot option for rEFInd be on top so you don't have to use "efibootmgr -n 0000" like I do and it will boot automaticaly. Be sure to use the edited version by tuxic001 so you can use volume buttons to select boot options. (You will still need to set the text mode on in refind.conf)

http://xdaforums.com/memo-pad-7/help/how-to-dual-boot-me176cx-part-1-t3183437
[MeMO Pad 7 General] Ruben Craveiro:
After you enable bootloader dual booting make a tutorial on how to install i would like to test and try to create cyanogenmod rom with android kitchen (i have everything ready, cygwin, working folder for kitchen etc)
[MeMO Pad 7 General] Mis012:
I would but jarbear is the one who has the bootloader roght now.

P.S jarbear could you back up your ESP for me? With the unlocked bootloader included :)
[MeMO Pad 7 General] Ruben Craveiro:
well if u get the /esp/ make it and ill try to create the cyanogenmod rom
[MeMO Pad 7 General] Mis012:
It was more like a joke that's not gonna happen as jarbear for some reason thinks that you need fastboot to make roms (while you only need twrp recovery which has all needed functions)
[MeMO Pad 7 General] Ruben Craveiro:
if he thinks that why doesnt he give u the unlocked bootloader and u do it yourself? then one will work and the other wont...
[MeMO Pad 7 General] Mis012:
He doesn't relase the unlocked bootloader unless the droidboot volume combi will work, that's what he said..
[MeMO Pad 7 General] Ruben Craveiro:
and how long will that take... a day? a week? a month? fix something so simple that can take time lol
[MeMO Pad 7 General] Mis012:
Ask him I don't know. I wouldn't use droidboot if I had twrp anyways.
[MeMO Pad 7 General] Ruben Craveiro:
how did he unlocked the bootloader anyway?
[MeMO Pad 7 General] Mis012:
Ask him. I don't know.
[MeMO Pad 7 General] jerbear294:
Early proof-of-concepts were a bootloader taken from an unlocked device, but the most recent iteration is a custom source-built bootloader.
[MeMO Pad 7 General] Ruben Craveiro:
hey, im doing your dualboot tutorial but i cant execute the file ./efibootmgr64 it gives permission denied

/////

nvm fixed but i did all the steps then i shutdown without restarting and turned it back on and it booted to android and not refind
[MeMO Pad 7 General] Mis012:
You have to use ./efibootmgr64 -n 0000

To boot it to refind for once only.

You have set the boot order to boot android becouse you have to edit the config sample to start refind in text only mode (and rename it to refind.conf)
[MeMO Pad 7 General] Ruben Craveiro:
the text mode thing isnt on ur tutorial lol.... and i made the tutorial 2 times and now i have 2 refinds there lol

////

could the issue be because i replaced the refind_x64 modified version with the one inside refind folder?

///

remade everything but now in bootorder i have refind 3 times there... how to remove them?
[MeMO Pad 7 General] Mis012:
You have to delete the second boot option for refind, and you have to replace the refind in the folder with the modified one.

As you seem somelike noobish, rather show me what ./efibootmgr64 -v

shows you. And then uncomment the #textonly to textonly and again copy the refind folder to esp/EFI/

Then you can write ./efibootmgr64 -n 0000

And reboot tablet.

Then you should end up in rEFInd (text version) where you can select with menu buttons. The selected option will boot after timeout. I recommend you to boot the efibootmgr as it will boot android and you will not have to power it off by holding the power button (what may result in a problem only solvable by disconnecting the battery for like half an hour) and that waiting for if your tablet will ever work again is not much nice)

---------- Post added at 06:57 PM ---------- Previous post was at 06:55 PM ----------

I never said to do the process again, why are you doing it?
[MeMO Pad 7 General] Ruben Craveiro:
i did it before u replyed

./////

i know what i did wrong.. i only set boot order.. i didnt set next boot... the images are a bit confusingu should add the command in the line that says "Then, set the next boot (only next boot) to rEFInd"
[MeMO Pad 7 General] Mis012:
What exactly?
[MeMO Pad 7 General] Ruben Craveiro:
i did the command ./efibootmgr64 -v it has boot 0,2,3,4 with same name ang boot 1 is uefi os

////

it booted its working & with the custom refind
[MeMO Pad 7 General] Mis012:
Good. Now a challange for you: get rid of that unneeded boot options :)

Not so hard, just a little of searching :)
[MeMO Pad 7 General] Ruben Craveiro:
ok ill do it and look what i found i think this might help, but im not sure.. http://www.intel.com/content/www/us...n-firmware-development-solutions-toolkit.html

its Intel Bootloader Development kit maybe theres something useful in it
[MeMO Pad 7 General] Mis012:
It seems this "bootloader" is just a UEFI implemantation which we may have in our tablets. It's not actual bootloader (intel efilinux)

btw, did you see how they used word "bios" ? And even in non-capitals. This can really make me angry.. it's UEFI, just UEFI how the **** can people learn it when even manufacturers call their UEFI imlemantations BIOSes? It is not Basic, it's way more advanced and it's Extensible!
[MeMO Pad 7 General] Ruben Craveiro:
ikr... btw i did ur little "challenge" its deleted i just did ./efibootmgr64 -B -b 0002

///////////////////////////////

maybe this is what your looking for: https://github.com/mfleming/efilinux

Source Code for efilinux in the link it says you need gnu-efi to build efilinux (http://sourceforge.net/projects/gnu-efi/)
[MeMO Pad 7 General] social-design-concepts:
[MENTION=6013061]Mis012[/MENTION] how is it going? [MENTION=5479482]jerbear294[/MENTION] has been actually testing for me, i only had a few select people testing as it is easier to help 2 or 3 people than it is alot if things went south. the issue extends beyond not being able to access fastboot as you cant access recovery either with out using adb reboot (insert boot mode here) so no way to boot to twrp from a device off state. i just finished interrogating it into the android build system again which is why source isn't posted yet.
[MeMO Pad 7 General] jerbear294:
Just adding to this-

This is why I couldn't go into specifics, social-design-concepts asked me to not mention his name, so I attempted to honor that no matter how hard that would've been.

Notice how I haven't said "I've done this" or "I'm almost done with it, just fixing a hardware button issue" but instead completely removed the pronoun- saying "I" would've given me the credit, saying "we" implies I'm working on it and that someone else was involved, and saying social-design-concepts's name breaks the promise I made beforehand.

Sorry for the confusion, but I really didn't want to take credit for any of his amazing work.

Although his method is more generalized and intended for virtually any Bay Trail tablet, we believe our issue has something to do with partition ID's- as I said before, this tablet has partitions that other Intel tablets don't, which is why this problem isn't present on his Venue tablets. My latest test package was source-built so source-built self-signed bootloaders do work (it's also prettier than the old test build- it has an actual Intel boot logo instead of a black screen- and it might be placebo but it might boot a half second faster than the real bootloader), meaning it won't be too long now until that issue is fixed.

(Phew, it feels good to get that off my chest.)
[MeMO Pad 7 General] social-design-concepts:
Thanks [MENTION=5479482]jerbear294[/MENTION] I had intended to write more but my daughter wanted me to do the robot dance with her lol.
[MeMO Pad 7 General] ardicli2000:
Glad to see that everythig is sorted out peacefully.

MAybe, [MENTION=4821597]social-design-concepts[/MENTION] could consider including [MENTION=6013061]Mis012[/MENTION] to his testers as it is abvious that he has knowledge.

Cheers :)
[MeMO Pad 7 General] profee:
+1 for this. Also, you guys rock.
[MeMO Pad 7 General] Mis012:
I would rather recommend someone who can start making cyanogenmod. And back to booting twrp from the off state: at first, it may help you that volume keys are just up/down arrows for UEFI applications. And secondly, according to my tutorial, you can boot rEFInd and then choose the bootloader to boot. If you boot to default bootloader, you can only boot to droidboot, but from here you can use tethered twrp and here you go. Or you can use dnx mode to boot droidboot.img and than again tethered twrp. Both doable for anyone who can read step-by step instructions or run bat/sh files and who knows how to make ROMs

---------- Post added at 04:29 PM ---------- Previous post was at 04:19 PM ----------

Firstly, read my previous post for some ideas. And secondly, well I thought it's you behind it at the beginning, but then not seeing you here has wiped this thought from my mind.. And thirdly, jarbear has almost done it open beta as he said he will upload his ESP backup. Unfortunately, I have included an idea of using one from update package in my post with details to unbrick so he didn't need to do so. But at least I have helped someone from brick state and that makes me happy :)
[MeMO Pad 7 General] jerbear294:
Actually what I meant is that I'd upload an ESP backup without the unlocked bootloader if Ruben couldn't get his device up and running again.
[MeMO Pad 7 General] Mis012:
Ok, you didn't say that before. I only realized that this might accidentaly happen. And if you need partition GUIDs, theyre in partition.tbl in update package.
[MeMO Pad 7 General] ardicli2000:
His brother has the same tablet. So it is possible for him to provide sb with a default bootloader.

All aside, development community will be of help to each other when they support them, when they pave the way for new achievements. The way has lots of hurdles, and not everyone is capable of overcoming them. It is totally understandable if dev doesn't want to release unfinished work to prevent "brick" incidents.

I believe it is time to chill, support each other, and hope for the best :)
[MeMO Pad 7 General] Mis012:
Bricking this tablet is pretty hard with uefi and dnx
[MeMO Pad 7 General] ardicli2000:
For you, for jerbear, for social-design-concepts.... Not for me...

I read every single post on this very thread, and I dont understand a bit what you say to that guy to recover ESP partition.. Even if it is possible, I may not do it, so as many users.. ;)
[MeMO Pad 7 General] lambdadroid:
So are we back to trying to get kernelflinger work or are you trying to get a different bootloader working?
[MeMO Pad 7 General] jerbear294:
Not kernelflinger.

[MENTION=4821597]social-design-concepts[/MENTION] is no longer trying a bootloader taken from another device, but instead building his own version of efilinux from source. This way we have full control over the bootloader's functions, and we'll be able to fix any bugs much faster than before.
[MeMO Pad 7 General] social-design-concepts:
I'm at work at the moment ; i'll be back on later tonight to provide more information on the bootloader ; I do wanna clear up quick that i'm not the author of the bootloader it is actually an older version of the efilinux.efi source used on Intel android devices , my only real contributions to it has been re-integrating it into the android build system and some build fixes. I still have to commit the android build tools tonight and then i will push it to github.

a stripped down version of android-ia kernelflinger is still a possible and possibly a better option.
[MeMO Pad 7 General] Ruben Craveiro:
with the unlocked bootloader is it possible to downgrade device by changing the script of .182? if yes can i have the bootloader so i can downgrade? honestly only what ive wanted is to go back to kitkat
[MeMO Pad 7 General] jerbear294:
It's already possible but you won't be able to upgrade KitKat versions.

Also personally I'd go with version 198 if you're insistent on going with KitKat as it has the battery life of 182 but some extra features and performance.
[MeMO Pad 7 General] Ruben Craveiro:
i really want to downgrade but i also dont wanna stay there forever... if i downgrade can i somehow go to lollipop version again?
[MeMO Pad 7 General] Mis012:
Instead of downgrading I would just wait for cyanogenmod..
[MeMO Pad 7 General] Ruben Craveiro:
if i downgrade will i still be able to install cyanogenmod when its out? or update again to latest lollipop version?
[MeMO Pad 7 General] jerbear294:
Definitely, as long as you don't upgrade the bootloader during the process.
[MeMO Pad 7 General] Mis012:
Depends on how would you downgrade. If you would get to the state it was before lollipop update, I would not recommend. If you would just swap bootimage and other system partitions (not ESP even when it is Efi SYSTEM Partition) then you would be OK.
[MeMO Pad 7 General] Ruben Craveiro:
Can u make a tutorial? Thanks
[MeMO Pad 7 General] Mis012:
I am confident with lollipop so I won't be trying to downgrade, sorry.
[MeMO Pad 7 General] tim_h:
Hi all, and sorry for replying so late (family emergency ...). It seems the battery drain is inherent to the newest update, and unrelated to the way how you got there. So I will not invest time to try a regular OTA. v24 also has its issues, I am afraid. For a while the battery life was very good in idle, then suddenly the battery was sucked empty in a flash. Also, I had spontaneous reboots after the tablet had set idling for some time. Possibly a memory leak, somebody mentioned fixing one with Xposed.

But it seems there is a lot of activity regarding unlocked bootloader and then porting CM12.1. That would be perfect, so I will wait and see where these efforts are getting in the next weeks. :)
[MeMO Pad 7 General] bnzgl:
i have similar problem with Ruben Craveiro and i dont have enough knowledge to do what you said where i make the folder and where i write this commands devise isn't openning only openning uefy screen and if i press all the buttons a screen that write "fastboot starting"
[MeMO Pad 7 General] Beaver_XT:
Now that you mention unlocked bootloader, I can't wait for CM.
[MeMO Pad 7 General] Mis012:
It doesn't matter where the folder is, but you have to be able to cd to it from command line (that's where the commands go) And you start executing the commands when you see the fastboot starting thing. I will make a bat script if youre on windows as these days no-newbie linux user would know what to do.

Edit: here it is you can try it.
[MeMO Pad 7 General] bnzgl:
thanks a lot but i am running the the script but suddenly closing i cant understand what's hapenning
[MeMO Pad 7 General] Mis012:
Itmshould boot you to droidboot on tablet
[MeMO Pad 7 General] bnzgl:
finally i can get into twrp i downloaded firmware from asus's weppage and install using twrp and rebooted but didn't open

i didn't use esp.img what is that and how can i use it could you explain please
[MeMO Pad 7 General] Mis012:
It's inside update package kitkat to lollipop. You put it on microsd or adb push to tablet and in twrp you switch to image install and select it
[MeMO Pad 7 General] bnzgl:
how to instal .img file on twrp ican only instal zip files
[MeMO Pad 7 General] Mis012:
There is a switch right bottom
[MeMO Pad 7 General] bnzgl:
which partition i shoul choose boot or recovery

---------- Post added at 06:16 PM ---------- Previous post was at 05:38 PM ----------

i choose esp.img but didn't install it "says unable to mount factory"
[MeMO Pad 7 General] Mis012:
Then ask Ruben maybe he found a better way to do it. If you want to at least run the tablet, then take boot.img from update zip and use it instead of droidboot.img (put it in the folder and edit the run.bat and replace droidboot.img by boot.img)

And once booted use storage space app to look if ESP partition is there, if it is I will make a script for you.
[MeMO Pad 7 General] social-design-concepts:
[MENTION=6013061]Mis012[/MENTION] sorry for the delay everything is up on my github.
[MeMO Pad 7 General] Ruben Craveiro:
A more simple way od fixing your tablet is getting the files Efulinux.efi(/root/ESP/Intel/ -- Inside Update.zip of .33) and droidboot in (/root/ -- update.zip of .33) then put those files in /adb/ folder and go into cmd and cd into adb and do the following commands while in dnx mode on the tablet (The thing that says Fastboot starting #1):

fastboot flash osloader efilinux.efi

fastboot boot droidboot.img

after that it should boot to droidboot...

Now u need the .33 rom so i recommed changing the first line of updater script (Use notepad ++ or you can corrupt the file!) and putting the ota in the tablet and load temp recovery and flash the update afterthat just reboot it should update uefi and then it will reboot again and it will boot.

---------- Post added at 10:29 AM ---------- Previous post was at 10:09 AM ----------

Are those stuff that r in github the bootloader? Which one are they? And how to compile (it seems uncompiled..)
[MeMO Pad 7 General] bnzgl:
i did that but after reboot there is only black screen

i dont have enough knowledge but twrp cant mount factory partition may be it couses a problem
[MeMO Pad 7 General] Mis012:
Are you using the latest tethered recovery?
[MeMO Pad 7 General] bnzgl:
Yes and tried two different twrp version

---------- Post added at 08:08 PM ---------- Previous post was at 08:00 PM ----------

Yes tried 2 different twrp version
[MeMO Pad 7 General] bnzgl:
I installed android x86 but wifi isnt working is there any solution for this
[MeMO Pad 7 General] bnzgl:
Win 8

[IMG="windows"][/IMG]

I installed win 8.1 lite version it requires less space but touchscreen cardreader wifi card sound card dont working how can i find driver for these
[MeMO Pad 7 General] Ruben Craveiro:
How did u installed? U didnt replaced windows with android did u?
[MeMO Pad 7 General] bnzgl:
MY tablet olready bricked and i can't unbrick i stuck on uefi so i am trying other ways
[MeMO Pad 7 General] Ruben Craveiro:
Ask someone for emmc backup so u can use a linux instead of windows and then restore android
[MeMO Pad 7 General] bnzgl:
i dont know person who have memopad so i cant take backup is there any emmc backup shared on forum
[MeMO Pad 7 General] tb79:
Hello together , i Need help. and sorry for my english

since installing the backup 12.10.33 by [MENTION=5479482]jerbear294[/MENTION] i have no notification bar and no home and back Buttons.

so i can´t work anymore...

i flashed today this firmware http://www.asus.com/gr/Tablets/ASUS_MeMO_Pad_7_ME176C/HelpDesk_Download/

but no luck too, the Buttons are away and no notification bar, also nothing when i wipe from the top down or from the bottom high...

what can i do???

HELP!
[MeMO Pad 7 General] profee:
Try rebooting to safe mode. Hold power off on the screen until 'reboot to safe mode' appears.
[MeMO Pad 7 General] tb79:
[MENTION=3374013]profee[/MENTION]

i do not get into safe mode because i don´t have that option. "on the Screen" so when it´s fully loaded? there i have only 3 Options reboot, power off and plane mode. with vol- and power i get into fastboot mode whre i can Choose normal bootpower off,recovery mode and restart bootlader. in this mode i can install temporary twrp , but installing full asus Firmware was not helping...
[MeMO Pad 7 General] Mis012:
You have to hold power off button and an alert prompt will display.
[MeMO Pad 7 General] jerbear294:
When the system is fully booted hold down the power button.

When the screen comes up with the reboot/power off options, hold down the power off option, it should ask you to go to safe mode.

If systemui doesn't crash in safe mode it's a modification you installed that did it.
[MeMO Pad 7 General] Ruben Craveiro:
sry to ask but can u make a nandroid backup of /esp/ partition? thanks.. ive been having issues fashing .33 it allways gets stuck in loading (it simply stops flashing.. the bar thatmoves when flashing a rom in twrp it stops and i have the need to reboot device.. but now its bootlooped.. i have powered otg cable and a usb hub with 4 usb ports (bought it yesterday)...
[MeMO Pad 7 General] Mis012:
My esp partition is a mess
[MeMO Pad 7 General] Ruben Craveiro:
oh.. what have u been doing to be such a mess? lol did u successfuly got the unlocked bootloader?
[MeMO Pad 7 General] jerbear294:
Probably, [MENTION=4821597]social-design-concepts[/MENTION] did put the source on github.
[MeMO Pad 7 General] Ruben Craveiro:
how to install it? i have no idea '-'
[MeMO Pad 7 General] Mis012:
If you compile it, I will help you to install it.
[MeMO Pad 7 General] Ruben Craveiro:
But how to compile it? XD i only saw that to compile i think u need linux
[MeMO Pad 7 General] jerbear294:
You might be able to compile it with Cygwin too, but don't quote me on that.
[MeMO Pad 7 General] Ruben Craveiro:
i have cygwin.. for ak.. i know the app that its needed i think its gnu-efi but its not avaible for cygwin
[MeMO Pad 7 General] social-design-concepts:
It needs to be built on linux-x86_64 and needs to be built with the aosp build system, isu (Intel signing utility) is prebuilt Linux binary so even if you could get efilinux to compile against the ndk on windows you still would need Linux to sign the efi app.

add the following to your local manifest and sync the source.

local_manifest :

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="sdc" fetch="https://github.com/social-design-concepts/" />
<project path="bootable/uefi" name="android_bootable_uefi" remote="sdc" revision="cm-12-ia"/>

<project path="device/intel-android/build" name="android_device_intel-android_build" remote="sdc" revision="cm-12-ia"/>
<project path="vendor/intel/tools/isu" name="android_vendor_intel_tools_isu" remote="sdc" revision="cm-12-ia"/>

<!-- Intel android-ia project -->
<remote name="android-ia" fetch="https://github.com/android-ia/"/>

<project path="hardware/intel/efi_prebuilts/gnu-efi" name="vendor_intel_external_efi_gnu-efi_prebuilt" remote="android-ia" revision="release/android-5.1.1_r16-ia0"/>

<project path="external/efibootmgr" name="platform_external_efibootmgr" remote="android-ia" revision="release/android-5.1.1_r16-ia0"/>
<project path="external/efivar" name="vendor_intel_external_efivar" remote="android-ia" revision="release/android-5.1.1_r16-ia0"/>
</manifest>

then add the following to your device make file.

target_device.mk :

TARGET_OS_SIGNING_METHOD := isu
TARGET_UEFI_ARCH := x86_64

BOARD_USE_64BIT_KERNEL := true

# don't check signature of boot_target
EFILINUX_INSECURE := true

then build with :

make -j$(nproc) uefi_osloader
[MeMO Pad 7 General] Ruben Craveiro:
Can u just compile it and give it? Much easier isnt it? :)
[MeMO Pad 7 General] social-design-concepts:
because of the issue with not booting into fastboot / recovery from hardware keys on this device i'm not releasing a build as it isn't ready for daily use meaning only experienced users should really use it. there is also an issue with logging on userdebug / eng builds that needs to be worked out so we can get to the bottom of why this tablet isn't booting from hardware keys.

trying to figure out issues with kernelflinger currently i have it booting to all targets boot / recovey / fastboot , boot_target verification disable, need to figure ot the kernel relocation error as this shouldn't be happening, but it's also having an issue with powering on from powered off / cold boot.
[MeMO Pad 7 General] jerbear294:
I noticed that too, when I tried to power off from the flashed TWRP partition it wouldn't shut off, but instead boot back into Android.

Don't you just LOVE messing with efilinux? [emoji14]
[MeMO Pad 7 General] Ruben Craveiro:
Well... How long will it take to get everything working? And with this unlocked bootloader will we be able to flash the asus 4.4 update (because the ram managment was so much better... And i really want to downgrade but i also wanna be able to upgrade to lollipop once i get tired of it) I wanted to know if its possible to install kitkat normally with the unlocked bootloader and then go back to latest lollipop version can u tell me? Thanks