yashsingh1/xdaforums huggingface dataset:
[Android General] tari01:
Unlocking the PadFone 2 running KitKat WW_11.8.4.23

Note: The below is for Linux - no extras are needed, you just plug in your phone and go. Windows users should probably need some drivers, enable ADB, and change the "sudo + COMMAND" parts.

Create a folder, download the needed files into it and open a terminal from there

Get the tools: sudo apt-get install android-tools-adb android-tools-fastboot

Enable USB Debugging on the phone

Restart the phone in CSC mode (Power, Volume up)

Murder the kernel: sudo fastboot -i 0x0b05 flash cwm.img (This will fail with "remote: can't flash unsigned image", but will also force fastboot to work)

Boot into recovery mode (Power, Volume down), it will say "Invalid Kernel!!!"

Boot into a temporary recovery by entering: sudo fastboot -i 0x0b05 boot cwm.img

If the phone is encrypted or custom partitioned, or just in case: go to "advanced" and format all partitions one-by-one

Select "wipe data/factory reset"

Go to "advanced" and select "wipe dalvik cache"

Select "install zip from sideload"

Send the ICS stock ROM to the phone: sudo adb sideload ICS.zip

Select "reboot system now" when the installation stops

Select "Disable recovery flash" if asked

If you get the "Invalid Kernel!!!" message, boot from the right kernel: sudo fastboot -i 0x0b05 boot boot.img

Do not enter your Google account. Copy unlock.apk to the phone, enable "Security/Unknown sources", then run the unlocker (it may fail several times, repeat if needed)

Boot into fastboot mode (Power, Volume up)

Install the CWM recovery: sudo fastboot -i 0x0b05 flash recovery cwm.img

Boot into recovery mode (Power, Volume down)

Select "wipe data/factory reset"

Go to "advanced" and select "wipe dalvik cache"

Select "install zip from sideload"

Send the KitKat stock ROM to the phone: sudo adb sideload KK.zip

Select "reboot system now" when the installation stops

Select "Disable recovery flash" if asked

Tari's ASUS PadFone 2 ROM (optional)

The files I used are here.
[Android General] tari01:
Tari's ASUS PadFone 2 ROM

To celebrate the unlocking of my beloved PadFone, I posted a ROM:

http://xdaforums.com/android/develo...om-r212015-t3009522/post58341137#post58341137
[Android General] RaymondX:
Thank you very much for your detailed tutorial! Sadly I cannot pass through the infamous Asus UnLock.apk...... "An Unknown error occours, which may be a network connection issue" bla bla bla..... gave up.... May I ask by any chance your rom can be installed with locked bootloader please? :(
[Android General] tari01:
Sadly, no custom ROM can be installed on a locked device. If you have managed to downgrade to 4.1 the unlock tool should work. It will almost definitely fail 10-20 times, because it wants to send your device ID to ASUS, but their "unlock server" is apparently at the very bottom of their priority list. When you feel like giving up, do a factory reset, reboot, skip everything in the setup wizard (no Google account, no data connection, etc.), then try again. You can try it a few times before you configure your Wi-Fi connection, then a few attempts while connected to the Internet. It's a game of patience...
[Android General] RaymondX:
WOW I didn't expect you would replly / reply so quickly..... Thanks!

Yes I managed to downgrade to 4.1 but the UnLock Tool refuse to work..... I tried hours LoL (P.S. the update server isn't working on my device too.... it said no update is available while i am in 4.1....)

Anyway the good old Padfone 2 worth it.... Have been taking the "press to unlock your device"button for like 4 hours LoL

Will update here in case I find a way to make it work.....
[Android General] s79336951:
Do you by any chance have unlocked before, and had your phone's mainboard changed after that? From my experience the unlock process stores the serial number and IMEI. When the mainboard is changed by service center, the serial number is retained while IMEI changes. No amount of tries will work unless Asus rectifies the stored unlock record.
[Android General] kidpunk:
I also have this problem, but I still have my original IMEI number on the Padfone box. Is it possible to use the IMEI changer (xposed module) to get around this probleM?
[Android General] Simeon Petkov:
Hi. I have a serious problem.

I rooted my Padfone 2, then unlocked bootloader and fastboot flashed CWM.

Then I flashed Guerilla rom. It worked until I rebooted it...

Stuck on inital asus logo.

Then I tried a few of your zips via adb sideload. They stay on boot logo and nothing happens. One managed to get to the secondary boot animation and then rebooted and stuck at the inital...

Please help.

The phone is bought from Spain. I didn't check the SKU before flashing the first time.

Flashing Asus's zips from their site does not boot too.
[Android General] masChmagic:
The unlock.apk doesn't work on my Padfone 2 android kitkat 4.4.2

It is only for up to 4.1

Please help unlock the bootloader so that this phone can be rooted?
[Android General] rexrossi:
You read the back page, just for the root TOWELROOT

https://towelroot.com/
[Android General] masChmagic:
This actually worked! Except for a few notes

-hvae to use Ubuntu 12.10 specifically to run these cmds : sudo apt-get install android-tools-adb android-tools-fastboot

-this doesn't work : sudo fastboot -i 0x0b05 flash cwm.img > says partition not found or something, maybe have to tell which partition to flash it to?

I don't know for sure if my phone is unlocked now, although i managed to go to jellybean then back to kitkat following the rest of the steps. How do I test it?

also, the reason i'm going thru all this trouble at all is to carrier unlock it. Apparently it doesn't work still with my network. I put the simcard back in my wife's padfone and it works fine. I put it in this phone, it detects all the carriers but cant connect to any of them. Any ideas what I could do?
[Android General] tari01:
I would advise you to get at least 14.04, your version is fairly old, I wouldn't be surprised if the android tools were not in the debian repos back then.

I you managed to flash cwm recovery on the phone and can boot into it, you are definitely unlocked.

Flashing the stock ROM (or mine) will not completely erase everything on the phone. Neither of these contain anything that SIM-locks the device. So, if you still seem to be locked to a carrier, go to CWM and wipe clean every living partition, then flash the ROM (I'd say you go with mine, because it comes pre-rooted, and the kernel is gentle on the battery (note that it's for WW devices only).
[Android General] masChmagic:
Thanks.

Yeah I was running a Ubuntu live CD.. i tried everything 15.04, 14.10, 10.10, but only 12.10 allows me to use those commands, but I forgot to mention, I had to run these commands:

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install android-tools-adb android-tools-fastboot

I used those with the other versions of Ubuntu and couldn't get the last command to work.

Anyway, I've formatted every partition I found under CWM. Data, dalvik, sdcard, and reinstalled using yours version of Kitkat.

Still no phone signal.

The thing is I have 2 PF2's, one I have given to my wife and one I want to use for myself. It just wouldn't connect to carrier. The simcard works fine on the other phone. This phone detects all the carriers in the area fine, it just won't let me connect to them.

What is not deleted when we install ROMs? I think radios and those things aren't replaced, right?
[Android General] tari01:
Oops. There's your culprit. Live images are only meant for trying out an OS. If you really want to use it, you need a proper installation, and all your hardware will play along just fine.

I packaged the ROM so that it only clears the Dalvik and the Cache, to preserve as much user data as possible, although the custom kernel always always replaces the one on the device .

As for your sim card issue, I'm afraid I can't help with that. My ROM is based on the stock ROM and is definitely "SIM-free" (I am still using a PF2 and it runs on it), so I'd guess there is something else that's causing your connectivity problem. (Perhaps some funky setting in Android?). What if you try it with another SIM? (Just a thought.)
[Android General] masChmagic:
Well I believe the Live version worked fine in this case. :)

The simcard issue is what bothers me at the moment, I do not know what to try. I have tried other sims inside and they all behave the same way except Virgin Media - that one registered on the network however couldn't make calls or sms with it even though it works fine with the other phone. I think the signal bars isn't displayed either (I don't remember) but at least it registered with the network instead of "Unable to register to selected network (EE)" or "Unable to register to the selected network (Vodafone)" or something.

Could it be that this phone was stolen and was reported to network? How do I check if that is so?
[Android General] tari01:
Well, you could see if somebody has already registered your phone with ASUS Tracking. As a last resort (provided you can/are willing to spend a few quid on this), you could take the device to any repair shop and ask them to look into it - it could be something trivial.

If a mobile device gets stolen, people usually go an have their SIM invalidated (that's what I would do), but that still would not explain why your phone itself is blocked, unless there is something physically wrong (again, it's just me guessing). I am really sorry I could not be of more help, but this is beyond me...
[Android General] Feduz:
hi, i have a problem, after i flash the twrp it tells me invalid kernel, i don't have unblock the bootlaoder, i have rooted it with tower root, please help me :/
[Android General] rexrossi:
you read page 137 onwards

and http://www.modaco.com/forums/topic/365818-padfone-2-invalid-kernel/
[Android General] fallen.69:
rooting padfone 2 with kitkat 4.4.2 android running

Hi guys

I searched all the web even asked Asus Company to give me a method to root asus padfone2 a68 with upgraded android 4.4.2 kitkat but there wasn't any solution.

Can someone help me out how to root this device ?

I've started thinking to sell it because there is no solution for rooting it while running 4.4.2 !!

Please help me out!

Thanks in advance.
[Android General] tari01:
Read this post.
[Android General] fallen.69:
thanks but i don't want to flash my rom i just want to root it ! what should i do ?
[Android General] tari01:
Towelroot works with the PadFone2. If you only need root to remedy simple access issues, it should be enough. Unlocking gives you full control over the device (it does not mean you need to flash any custom ROM - you can go on using the factory one), the choice is yours, of course.
[Android General] fallen.69:
I have tried towelroot but it shows this error : please ensure your are connected to the internet ..

While i'm connected !

About the second method : in the post that you sent for me there are two rom ics and kitkat .... that the tutorial is for flashing these roms. !

Does unlocking the device gives me the full access i mean root access ? without flashing those roms ?

And will it work while i have kitkat running ?
[Android General] tari01:
For issues with TowelRoot you should probably seek help from the developer or dedicated forum/thread. It used to work on my PF2, but it was a long time ago, and I used the app only for a brief period.

Some people refer to both unlocking and rooting as rooting, which causes a bit of confusion:

Unlocking the phone only gives you full access to the phone itself. For root privileges under Android you need rooting, i.e. the

su

binary + a root manager application (having busybox also doesn't hurt). SuperSU is the most popular way of rooting, but you need an unlocked phone for that..

Well, you need to flash something - it's no good without an operating system. The pre-rooted KitKat ROM in the link I gave you earlier has all you need inside it, so you needn't bother with the rooting.

Sure it will, it's part of the above mentioned KitKat ROM
[Android General] Feduz:
thanks.. but it tells me "waiting for device" .. :/
[Android General] trexa88:
Hi! Sorry for my English, Russian I am writing to you through Google translator)))

problem as follows:

It was a piercingWWE 442? after about half a year longer to work on their own touch-sensitive keys below the screen (back, home, and applications).

to reset to the factory did not help, did hard reset did not help,

He rolled to WWE411. everything worked, I decided to put back the WWE 442, okay flashed, but the buttons again have earned, had to revert to WWE411. WWE442 would be desirable but for some reason he is not working or rather not work touch-sensitive buttons, and tried to put other regions but to no avail. help vchem washes be the problem?
[Android General] Feduz:
hi! can you upload the kernel?
[Android General] jester-head:
Hi all,

im trying to unlock my phone with the help of this tutorial but unfortunately its not even possible for me to get the kernel murdered :(

Most likely it is an issue of not using Linux, i think, but before installing Linux i wanted to ask if someone could help.

So: I'm using Windows (7), phone is beeing detectet. But when it comes to step 5. and i type "fastboot -i 0x0b05 flash cwm.img" into the cmd it says: "unknown partition 'cwm.img'. error: cannot determine image filename for 'cwm.img'." and when i boot into recovery mode it won't say "invalid kernel".

So my question is how can I get this running using windows?

I'm glad about every help :)

edit: I found the problem. To murder the kernel it must say "sudo fastboot -i 0x0b05 flash boot cwm.img".

the rest worked perfectly as described :)
[Android General] LestatVal:
Error unlocking padfone 2

Hello I have a padfone 2 firmware A68-11.8.4.23-0 WWE.

Follow all steps in the post # 1389 and in step 16 the unlock does not unlock the phone gives me this error: "An unknown error occurs, which may be a network connection issue. please wait and try again later".

My phone is unlocked and you drive for service, since they changed the motherboard I am not able to Unlock it.

What can I do.

Thank you.

Sorry for my English.
[Android General] tari01:
If your motherboard has been replaced, you will not be able to use the ASUS unlock tool on the phone - the serial numbers stored on the manufacturer's servers will not match your new ones. It has been a known issue with ASUS (and some other manufacturers).

You could try contacting their technical support and ask them to update your part ID. I remember reading about some people doing this in the forums, but I do not know whether ASUS did it in the end.
[Android General] gentle_giant:
bricked

Hopefully someone is able to give me directions.

After a problem with the mic. I tried to restore a backup with TWRP.

That went sour and I got stuck in a start-up loop.

I read all there is to find, found this thread, tried Sissidroids tutorial after a lot of trial & errors with fastboot and adb (yes, I'm a noob)

After sideloading of a SKU I am still at square 1.

I replaced TWRP for the sock recovery, so far so good. At some point I couldn't use the volume buttons anymore but that seems to be OK for now.

Than I tried the tut. in # 2 but to no avail, I cannot sideload to Cache.

the phone is rooted.

I will consider anything, also going back to stock

Edit: sideload to cache worked, installed but it didn't result: I'm still stuck on the boot logo.
[Android General] vaggelisk:
i m trying to fix my asus pf2 but not booting.Can u help me ?
[Android General] AlexBungas:
This method will erase everything in your phone and going back to default condition, like the first time out of the box.

Make sure u phone have enough battery.

1.Shutdown the phone.

2.Turn on the phone by pressing and hold power button with volume down.

3.Choose wipe and erase data (or similar text like that)

4.Wait the process till done.
[Android General] masChmagic:
Hi,

How do I un-murder the kernel?

I may have bricked my phone. I can't reboot the phone at all now. It was Kitkat 4.4 before, now its 4.1 but the unlock.apk doesn't work (unknown error, possibly network try again later).

I want to go back to 4.4 to at least have a phone. But now everytime I reboot it will show up "invalid kernel" and I have to go back to the office to do a fastboot -i 0x0b05 boot boot.img , any command involving fastboot -i 0x0b05 FLASH ****.*** will result in "remote: security is Enable, close 'flash' function !!.
[Android General] masChmagic:
I don't know what i did.. after some fastboot flash boot stockkernel.img and adb sideload stockkernel.zips I did manage once to get the phone working in 4.4 without unlocked bootloader, but didn't have root. I wanted to go over the steps I went through again but couldn't nail the procedure.

now, the phone is pretty much bricked.

I can get into recovery (stock android recovery) and issue some adb commands but can't adb push or anything (permission denied), but I can't get into Fastboot or CSC. Just getting the android logo forever after I do the power + vol up. Without CSC I can't murder the kernel to get into fastboot, and without fastboot I can't launch into CWM.

I've tried adb reboot bootloader command but still just getting the asus logo.

Right now the only thing I can access pretty much is the stock recovery where there is an option to install something from /sdcard, but I can't copy anything to /sdcard over the usb cable to even attempt anything. adb push ___.zip /sdcard gives me permission denied.

I'm at a loss on what to do right now. Any pointer in any direction would be most appreciated.

Cheers
[Android General] Explorer23:
/sdcard returns permission denied, but have you tried pushing to /cache? I usually did that and then selected "install from cache" option in recovery.

P.S.: whatever I say here is purely from memory so mistakes are possible, I'm not using this device any more.

Still have it though, but I'm pretty sure it's dead (can't even boot it on any mode).
[Android General] Bumper03:
All links are down to stock recovery, can someone upload to me?
[Android General] foldesics:
Padfone 2 unlock doesn't work

At the point: [*]Do not enter your Google account. Copy unlock.apk to the phone, enable "Security/Unknown sources", then run the unlocker (it may fail several times, repeat if needed)

I push the Press to unlock device button and an alert shows up: "Unknow error. This may be a network connection issue. please wait and try again later."

I'm trying over 5 days. Nothing changed.

Do you have any advice or idea?

Thanks a lot!
[Android General] charlykayo:
when i try to watch something...

someone to know, how can i fix it? always is like that, doesn't matter what i play and with which player, in fb and insta is the same. i made reset, clean, reinstall of firmware, but still is same ****.... :(
[Android General] charlykayo:
come on

no one, anyone? help me people, how can i fix this?
[Android General] ashik sarkar:
Hii
[Android General] Codx323:
Asus Padfone 2 A68 no boot no logo and no recovery or fastboot

yoo peoples i got a problem, my asus padfone 2 is not booting i put it on charge over night and im sure it failed on a update, it doesnt vibrate it doesnt boot to anything, it is chargeing but no visible sign of it chargeing unless the battery is put into another phone to check the percentage, its not rooted or unlocked, i plug it in now and get the QDloader mode 9008 in the poerts and com menu in Device Manager.

would love my phone back but got no lead as to how to fix this problem, asus wont help because i bought it in another country and its not worth sending away to have them replace everything, its surely software and files i need. PLEEEAAASSSSEEEEE HEEELPP ?!?!?!?!
[Android General] dangeroustry:
If someone need here the recovery.fstab

I build a cwm recovery, the screen doesn't work but it mount all dev! In some partition it are a lot of usefull file, maybe can help for dev!

DO NOT FLASH THIS RECOVERY! try only to boot (fastboot boot recovery.img)
[Android General] walaway:
Thanks for this mate it'll definitely help. the problem is probably the same one as what happened in TWRP. Dunno the details.

@Zozi: Successfully flashed the de-odexed ROM + debloat. It seems that I had played too much that's why I ended up with a boot loop and semi-brick
[Android General] [zozi]:
Re: ASUS Padfone2 Development [ROOT][TWRP][SKU Change] Looking for CHEFS

That it is great news.... Post your rom and the chance log for comunity :P
[Android General] walaway:
Re: ASUS Padfone2 Development [ROOT][TWRP][SKU Change] Looking for CHEFS

I made some mistakes had to manually uninstall apps after first boot with tibackup ill check when I get home
[Android General] walaway:
Re: ASUS Padfone2 Development [ROOT][TWRP][SKU Change] Looking for CHEFS

Todo:

1. Learn to zipalign

2. Remove bloat

3. Ask permission :D I used paulobrien's deodexed rom

4. Find a host
[Android General] walaway:
I'll be uploading the zip I flashed later tonight, but it will be from Dropbox so, one by one :) PM me around 1pm GMT+8 for the link
[Android General] adey64:
WOW! keep up the good work!! you're doing amazing
[Android General] walaway:
ETA for the upload to finish: 4 hours (connection is slow yeah)

But I'll be going to bed so see you guys tomorrow
[Android General] DjBastard:
Walaway

you upload a rom flashing dexoxed works with TWRP?????

yo are crack XDDDD

what is the process you followed? can be done from windows? a mini tutorial for dummies xD

I would like to learn...

thanks ;)
[Android General] m@f:
Sv: ASUS Padfone2 Development [ROOT][TWRP][SKU Change] Looking for CHEFS

I have a request and hoping someone here can fix..

When using the phone docked in the padstation and browsing google play it's still recognized as a phone. Then we still can't install tab-only apps.

Does anyone know how to bypass this.?

Or do we need to tweak our setup to accomplish the google play tablet demands.

Could it be something in the build.prop file or like that?

Sendt fra min PadFone 2 med Tapatalk2
[Android General] walaway:
It's the de-odexed rom from Modaco, its been flashable through his modified recovery and it does work with TWRP. I just removed apps which i felt was bloat.
[Android General] walaway:
Settings > Asus settings/or something like that> dynamic switch list > don't keep everything alive just choose certain apps like Music.

If you keep certain apps alive it will have problems when switching specifically with fonts and sizing.

If you install the "Padfone Launcher Switcher" then keep it alive

Don't keep custom keyboards alive
[Android General] [zozi]:
Re: ASUS Padfone2 Development [ROOT][TWRP][SKU Change] Looking for CHEFS

I use SwiftKey Flow tablet and works great with tablet and Phone mode...

Walaway check your PM
[Android General] walaway:
Put ROM to SD card.

1.If Asus firmware update does not detect it reboot to recovery

2a. If coming from Asus auto-detect it will flash immediately let it flash

2b. wipe cache and dalvik

2c. Wipe system and Factory settings

2d. Flash de-odexed ROM.zip again

3. Clean up dalvik cache and cache partitions

4. Reboot too bootloader (at this point you will be prompt that there is no system and system is not rooted, just swipe)

5. flash superboot image by MoDaCO - "the superboot img download has an automatic flasher so just run the install_superboot.sh/exe

6. "fastboot erase cache"

7. "fastboot reboot"

that should do it.

TWRP should flash the binaries and after first boot superSU should be prompted to be downloaded, choose the normal way.

Profit
[Android General] walaway:
update: re-uploading to dropbox, having issues with ISP. Connection sucks

file is too big for dropbox, QQ
[Android General] mrx_rf:
:good::good::good:

Is there a way to integrate TWRP inside ROM?

I try to compile stock ROM using Adroid Kitchen by dsixda but no luck so far
[Android General] m@f:
Sv: ASUS Padfone2 Development [ROOT][TWRP][SKU Change] Looking for CHEFS

You might misunderstood.. i was talking about apps where play say that my device is not compatible.. like this one https://play.google.com/store/apps/details?id=com.intsig.camscannerhd

Sendt fra min PadFone 2 med Tapatalk2