yashsingh1/xdaforums huggingface dataset:
[Android General] Shaderguy:
If you unlock the bootloader, you can install cwm recovery and root it without using a custom rom. I can prepare a prepackage zip place the files in /bin and Superuser.apk in app.

Doing this however will stop OTA updates for your phone.

---------- Post added at 01:22 PM ---------- Previous post was at 01:02 PM ----------

To build the CWM for padfone 2 just follow this link.

http://builder.clockworkmod.com/

The problem is that to dump the recovery from padfone 2, we need root. To get root we need a root method that doesn't need bootloader flashing/unlock.

:eek:

So we must now either find a way to root the padfone 2 without using a custom recovery and rom, or find a way to dump the recovery image of padfone 2 without using root.
[Android General] schriss:
Maybe recovery would be included in one of Asus official upcoming updates?

Sent from my PadFone 2
[Android General] SparkyRih:
Another firmware upgrade for the Padfone 2
[Android General] BuzzFuzz:
Can we get forum section for Asus Padphone 2? :highfive:
[Android General] schriss:
How about this:

http://xdaforums.com/showpost.php?p=16376231&postcount=5

EDIT: Looks like false alarm...

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

When we unlock bootloader, can we not push something with ADB and boot into it like booting from ramdisk? So we could do things including dumping stock recovery.

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

I see Recovery in Asus official firmware zip update. It's in Recovery subfolder. Is it not what we need?

There is also recovery installation script there:

#!/system/bin/sh
if ! applypatch -c EMMC:/dev/block/platform/msm_sdcc.1/by-name/recovery:5881856:529dd2a4c039df7c733d69b9559dc41cd9d88b70; then
log -t recovery "Installing new recovery image"
applypatch EMMC:/dev/block/platform/msm_sdcc.1/by-name/boot:5535744:7ca6345b8f35f0f1e3a9ca42e46149cb447dc954 EMMC:/dev/block/platform/msm_sdcc.1/by-name/recovery 529dd2a4c039df7c733d69b9559dc41cd9d88b70 5881856 7ca6345b8f35f0f1e3a9ca42e46149cb447dc954:/system/recovery-from-boot.p
else
log -t recovery "Recovery image already installed"
fi
cat /cache/recovery/last_install > /data/logcat_log/recovery_last_install
cat /cache/recovery/last_log > /data/logcat_log/recovery_log

EDIT: Unless its only a small part, patch.
[Android General] oroo708:
This might help us port CWM into PF.

:D
[Android General] schriss:
Yes but most of the people would probably need exact steps to follow to make it happen, including myself :)

Question: once we have CWM on Padfone 2, is it possible to download Asus firmware from website (since OTA would not work) and still install it from CWM?
[Android General] schriss:
Any idea how to get recovery.img from recovery-from-boot.p ?

---------- Post added at 10:26 PM ---------- Previous post was at 10:18 PM ----------

Found these instructions to boot any recovery image instead of flashing:

You need to unlock your bootloader, and follow most of the steps to flash the recovery, but instead of flashing the recovery.img after unlocking you would type in the following command:

fastboot boot recovery recovery.img

Does that help? Can we boot something that gives temp root so we could backup stock recovery?

---------- Post added at 10:39 PM ---------- Previous post was at 10:26 PM ----------

OR we could boot the phone with rooted Boot.img like that:

fastboot boot rooted_boot.img

right?

---------- Post added at 11:04 PM ---------- Previous post was at 10:39 PM ----------

this:

to soft-boot an insecure boot image by typing fastboot boot boot.img into the command prompt

can someone make such boot.img?

Once the phone boots it would allow to root and also make recovery.img backup
[Android General] Austech:
Why don't we get a bounty going. Use a site to collect money and that offer goes to anyone who can get cwm onto the PadFone
[Android General] oroo708:
+1
[Android General] schriss:
Found exact steps to create unsecure boot.img

We do have original Boot.img in any asus firmware update zip file.

Then the steps to edit that Boot.img under windows here: http://xdaforums.com/showthread.php?t=1630130

Then, after bootloader is unlocked with asus tool, we boot insecure Boot.img and see if it works:

fastboot boot boot.img

If it boots correctly, then we know the modified Boot.img will not brick device (beacuse it just booted OK) and we could flash it with:

fastboot flash boot boot.img

I assume doing the above allows to easily root and do anything including dumping original Recovery.img that we then use to create CWM here: http://builder.clockworkmod.com/
[Android General] oroo708:
how about just do it?? PF2 already got unlock tool, just go and test it out, if the fastboot is working with unlock bootloader that means everything will be fine.

chances to brick devices with fastboot are low and very rare. come on guys!! no one even trying??
[Android General] schriss:
Im not afraid to unlock and try new Boot.img. My concern is future Asus updates and how to manually flash them.

---------- Post added at 06:41 PM ---------- Previous post was at 06:02 PM ----------

I've created insecure boot img, based on Boot.img from this update file from Asus: TW_A68_9_8_8_55_otauser.zip

It's here: https://dl.dropbox.com/u/45827235/insecure_boot.img

So now what needs to be done, someone who unlocked the Padfone 2 uses this command to boot it see if all is good.

That is safe because it's not flashing.

fastboot boot insecure_boot.img
[Android General] schriss:
If I'm reading correctly, after Unlocking and flashing CWM, it's easy to flash any Asus OTA from CWM.
[Android General] hackbob:
As I'm not feeling well and I haven't received yet my Ingress activation code, I made some research and thinkered about the results of those searches.

JB release should be here soon and these week was released nexus4 and AOSP android 4.2 source (still named JB).

We know that:

PF2 use snapdragon s4 pro chipset, same as nexus 4.

Have a 13mpx camera, same as nexus 4

Have 2gb ram, as above.

And so on....

Maybe the JB firmware update was delayed waiting for 4.2 release, and we'll have an update directly to 4.2 JB

These are my assumptions (and hopes).

I'll dig deeply trying to find board informations for pf2 and nexus4; if they are similar or the same, porting 4.2 shouldn't be much of a problem.
[Android General] schriss:
Nexus 4 doesn't have 13Mpix, it's "only" 8Mpix. http://www.google.com/nexus/4/#camera

Nexus 4 is LG E960. So not sure what similarities we might expect between Asus and LG, both seem exotic to me.

Anyway, the wait continues :)
[Android General] hackbob:
Sorry confused the lg optimus g column with the nexus 4 on the comparison from engadget.

As of now I've not found any info about the boards used in the devices.

Have to dig deeply in the sources and hope to find something
[Android General] schriss:
So when Asus releases source of JB kernel, making custom JB ROM for PF2 is relatively easy, right?
[Android General] hackbob:
Maybe, maybe not.

If there are some board custom driver can be pretty tricky.

We'll see when we'll get there, I hope the interest in the pf2 will grow in experienced devs
[Android General] schriss:
I thought all custom drivers come with Kernel, no? There surely are special drivers, it's a phone that docks into touchscreen tablet with speakers and hardware buttons :)
[Android General] hackbob:
That's right but, I've experienced some problem with driver that differs from standard opensource one.

For example Samsung on the sgs Advance made some changes on some drivers, that involved changes on the android platform to get them work.

Due to the fact that only the kernel is released we have to guess what changes were made on the platform part and see if we can port them without breaking support on other devices (talking about CM now).

I've take a look on the kernel source but I didn't find any usefull information nor was able to try and build it (still a little dizzy and i prefer staying in bed)
[Android General] oroo708:
Kernal will be release when the full OTA are release on the official site.

I thought the kernal are the driver, right? so you just port the custom ROM with moded kernel for the device. this I know from my legendary HD2.
[Android General] hackbob:
Sometimes it's enough to replace kernel in another rom and you have a port, but sometimes the driver have different fujction definition.

For example the mediaserver for the sgs advance and the standard in cm7 call different libmedia functions and we keep getting errrors.
[Android General] schriss:
Maybe its because it was CM, I always read how its different from stock and not everything works and battery not great.

Sent from my PadFone 2
[Android General] Someone09:
I have read some (semi-founded) rumors about the TF101 skipping 4.1, too, and getting directly to 4.2.
[Android General] SparkyRih:
App to assign different Phone or Pad launchers
[Android General] PlanetJumble:
Finally - you could ask him to include default keyboards to make it perfect (assuming it runs well). :)
[Android General] Mr. Corny:
As promised, here is the full review of Asus PadFone 2 done by me. Enjoy reading:

http://www.insidehw.com/reviews/mobility/7388-review-asus-padfone-2-second-to-none
[Android General] schriss:
I'm using it now, it's brilliant :) Stock launcher for the Pad, Apex for the Phone :)
[Android General] jessada98:
now can padfone 2 be rooted ? I just new here and the page were to much to search thanks
[Android General] SparkyRih:
The app still has some bugs, but the developer is working on it :D

http://www.padfoneclub.com/pl/forum/forum_viewtopic.php?3623.post
[Android General] schriss:
As far as I know, there is no tool to root without unlocking first.

But since Asus provided bootloader Unlock tool, then yes it can easily be rooted as any phone that has bootloader Unlock tool.
[Android General] MrPhilo:
My asus padfone 2 just came in :), I forgot the charger isn't the same as UK standards, using my Galaxy Note 2 for now but it charges 2A compared to the 1A on typical asus devices. Defiantly loving the phone and tablet, but might sell it in the next 1-2month if it still has weak support. I really want a kernel developer for this phone, don't need a quad core krait, a dual core krait is enough for me :)!
[Android General] schriss:
Asus bundles 1.5A charger :) Phone only charges at 1A anyway, Pad takes more.

Bootloader unlock tool is provided, Kernel source code is provided too - nothing stops anyone from developing :D

I'm keeping it for few months, maybe up to a year, no matter what. So far I love it.
[Android General] jessada98:
thanks you so much for answering =)
[Android General] Tagor12:
dualboot

I had heard that the transformer tablet From asus could be dual Booted To Android and Linux could it also be possible that this cool thing also works at the padfone 2? When it could be i would buy it and if not i think i would chouse the transformer

Thank you for your answere and sorry for my bad english because i am german
[Android General] Mr. Corny:
It is imortant that we understand you ;) It is possible that in the future dual boot with Linux be possible, but PadFone doesn't have a keyboard dock and it is not annonced.
[Android General] Tagor12:
That is not 100 percent right because they (Asus) sad, that they can't speak about the keyboard dock because it is in developing :D
[Android General] PhunFone:
I've heard both rumors, one that says basically 'yes' and one that says 'no'!

Nobody knows yet, till asus releases a official confirmation.

So unless you have a source, that sounds more like a rumor.

Skickat från min LG-P990 via Tapatalk 2
[Android General] benthian89:
is there a proper rooting method already?

I am deciding between the padfone2 and Galaxy note II LTE depending on dev support.

Currently using the first Galaxy Note and thinking of upgrading soon.

The padfone2 is really interesting,

I can stick with stock rom but i really need root.

If there are custom ROMs or kernels, i will just jump straight into the padfone2:):good:
[Android General] Shaderguy:
There is a way to root, but we are hesitant to use it as it breaks OTA updates.
[Android General] benthian89:
So after rooting, we will need someone to Dev or as least make flashable updates right.

But before that happens, we also need a custom recovery am I right?

Is there any progress on this?
[Android General] schriss:
As soon as someone unlocks and tries unsecure boot, we would post instructions how to dump stock recovery that is then used to build ClockworkMod by using automatic porting process.

Also, I think asus updates can be flashed with Clockworkmod, someone correct me if I'm wrong.

Sent from my PadFone 2
[Android General] SparkyRih:
Asus confirmed that there will be no keyboard dock...
[Android General] MrPhilo:
The phone should start getting more users in December or early January when it's released in more areas, but still the Nexus 4 will probably turn some people away due to its price.

So typical, Asus always releases there product in Taiwan first then other countries later, this is a reason why it isn't that popular imo, also the tablet, they should sell it as an additional accessory, then more people would actually buy there phone.
[Android General] SparkyRih:
Asus could've sold about 42.14% more Padfone 2's if they made a keyboard dock for it... I don't think the Padfone 2 will do very well...
[Android General] hackbob:
Damn!

I'm going to take the phone to the assistance tomorrow.

For the third time my battery died out for no apparent reason when I checked it 5 minutes before and had a lot of charge left (95% first time, than 34 and 54).

The only thing in common every time is that I had asus' earpieces when I turned off the screen,removed them and then turned the screen back on.

I don't know if it's related (maybe a fault in the jack and statics reset the battery) because I tried to force reproduce it and I had no problem today.

Because luck is following me lately, one of the microusb contact was loose and i didn't notice until I placed the phone in the station resulting in the contact being pushed in the phone (now I have only 4 contact instead of 5).

Luckily the phone can be recharged but ONLY with Asus cable, normal usb mini cable is not working nor the car charger.

Glad I had yet to root the device... I was planning on doing it yesterday before the battery died out.

I think I'll wait at least until I finished paing the phone (10 months to go) before risking to loose the warranty... well if someone find a way to root without increase binary counter I'll be really happy rooting it.
[Android General] WingZer0n:
what the battery died??? now thats the scary part of built in batteries!
[Android General] ekoandrew:
Padfone 2 doees have a Removable battery in the phone, not embedded/fixated. Only problem is, the back cover is HELL to open.

charging the Padfone 2 is HIGHLY recommended to use the provided Charger+cable!!

never had any batter problems for me, Padfone 2 been the best phone I ever used!!
[Android General] benthian89:
What is the official way of requesting a new section on padfone(2) in XDA?

It think a section of its own will draw more attention to develop for this awesome device.
[Android General] khoikn:
It seems like a really promising device.

I remember the original Padfone and how it was glazed over in the consumer world.

ASUS really needs to get this Padfone out to more consumers.
[Android General] PlanetJumble:
Develop something original for it, modify the kernel, make CWM workable, tweak a ROM, and release it here in a new Thread. If there are a few threads which contain actual development for a device, XDA will probably create a new subforum and move those threads there.
[Android General] schriss:
Never happened to me. I'm listening to music for 6hrs a day, every week day, then I unplug headphones with screen off, then use it. And I bought my Padfone 2 many weeks ago.

---------- Post added at 10:14 AM ---------- Previous post was at 10:13 AM ----------

Same here, I tried 3 methods myself with no luck. Considering unlocking soon. But if there is any more rooting tools/methods to try I can do it.
[Android General] hackbob:
I know it's weird tried 5 time today and no problem.

I'll send to the assistence tomorrow to primarly fix the USB problem...

Maybe it's caused by that damn pin short-circuiting something... Speculating

I'll post an update when I'll get back the device
[Android General] exitido:
my 4º padfone with problems

this is my 4º padfone with problems.

When i plug the ac adapter and if the speaker is loud my Tablet turn off instantly

http://www.youtube.com/watch?v=kM0k-VOBPP0&feature=youtu.be
[Android General] schriss:
Did anyone tried this rooting method? http://xdaforums.com/showthread.php?t=1886460
[Android General] Ivalex:
I tried... no way.

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] schriss:
I tried searching in Taiwan for Padfone 2 root, but nothing. Looks like unlocking is the only way to get root.
[Android General] Ivalex:
Not really, or not only. Need also an exploit. I've unlocked my bootloader, but still no root... and I tried several methods.

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] schriss:
Tried booting insecure boot.img? I tried creating one and posted link few pages back.

It should allow to do anything including adb root

Sent from my PadFone 2
[Android General] oroo708:
u have to flash the boot.img with one that is rooted
[Android General] benthian89:
But this way, the binary counter will increase?

Is warranty void after unlocking?
[Android General] killkyo:
Wrong post. Sorry.

I googled all over too, can't find a good and warranty safe way to root...:crying:
[Android General] darkvice01:
Has anyone tried rooting using SDK?
[Android General] Ivalex:
Yep. Guess it is hard to find one around.

Inviato dal mio GT-I9300 con Tapatalk 2

---------- Post added at 12:37 PM ---------- Previous post was at 12:27 PM ----------

I can give it a try... do you have a link to a How-to?

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] schriss:
Sent from my PadFone 2

Yes but we can build one :) http://xdaforums.com/showthread.php?p=34263141
[Android General] hackbob:
Luck is by my side today.

Gone to send the padfone to fix the broken usb and they replaced it fully without asking anything.

Finished restoring anything now.
[Android General] schriss:
Did you use Asus backup tool to backup and restore apps and their data? I'd like to know how that worked.

Sent from my PadFone 2
[Android General] hackbob:
Yep i used asus backup tool, but only to restore data, i dumbly made the backup that way

Everything fine except for The Accounts and Settings that i had to restore manually
[Android General] benthian89:
Is there anyway to backup from a non-Asus device, then restore from the padfone?

The backup would include app data. And especially on a non-rooted padfone
[Android General] Ivalex:
... look good. I'm downloading the WWE update and use the boot.IMG inthere. Hopefully is going to work.

And hopefully I'm not bricking my device:o

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] schriss:
If you first do fastboot boot boot.img then no way to brick it :) Besides, as long as we don't mess with boot loader I dont think its possible to brick it.

By the way, I'm still on TW firmware, whats the difference between that and WWE? Asus website says I can't easily change, or can I?
[Android General] Ivalex:
Schriss. About your concern on update to be flashed manually. I believe as long ad they're correctly signed you'd have no problem flashing using the STD android recovery 3e.

... or not?

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] hackbob:
You can use apps like titanium backup pro or Mybackup pro that can backup apps and settings without root.

My friend use mybackuo pro and it's working great (even if it looks so Froyo); I didn't buy those because my previous devices where rooted as soon as I got them.
[Android General] benthian89:
mybackup pro cannot restore data on a non-rooted phone..

The same goes for titanium backup..

I am preparing for the worst case scenario where i don root the padfone.

For now, the asus backup app works without root, thats why i am asking if it is possible to backup on a non-asus device first,

so that i can restore on the padfone after that.

I still have a last resort, which is the manual way through ADB
[Android General] Ivalex:
Don't know the differences... maybe some country specific things

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] schriss:
Hopefully, I just wonder wny Asus said official updates wouldn't work anymore... Samsung devices were usually displaying "Your device is modified" message preventing updates from working.

But going into recovery and trying to flash directly from there, that could still work.

Anyway, first thing I would do is to dump stock recovery and build CWM so that everything would be possible going forward.

CWM building seems straightforward, upload stock recovery and click button: http://builder.clockworkmod.com/

Dumping stock recovery, not sure if these are the steps but found this:

Commands are as follows via ADB:

adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/sdcard/stock-recovery.img

adb pull /sdcard/stock-recovery.img
[Android General] Ivalex:
I've wwe since the beginning. Might be hard to move from a country code to another, as on asus site you have only updates.

But if we can catch a complete ROM image then i see no problems.

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] schriss:
With 700MB in size these updates all seem to be full ROMs.
[Android General] Ivalex:
Well, agree with you

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] darkvice01:
Try this for nexus 4 method.. This is unlock bootloader .. http://genius-tips.com/how-to-root-android-4-2-on-nexus-4-and-install-cwm-recoery/

---------- Post added at 02:16 AM ---------- Previous post was at 02:09 AM ----------

Here's for unlocking boot loader using SDK..

http://genius-tips.com/how-to-unlock-bootloader-of-nexus-4-smart-phone/

---------- Post added at 02:19 AM ---------- Previous post was at 02:16 AM ----------

Here's another another link for unlocking bootloader using SDK.. http://www.androidegis.com/how-to/how-to-unlock-bootloader-of-nexus-4/
[Android General] schriss:
Not sure if it's useful for us.

We unlock with Asus APK tool.

We don't have CWM recovery generated for our device yet.

We can boot/flash insecure Boot.img and then we can root or push whatever we want to the phone while still having stock recovery.

Then we can dump stock recovery and create CWM using that stock recovery image.

Then we can flash CWM.

Then we can use CWM to flash zip files.

Does that sound right?
[Android General] darkvice01:
Yes youre right... But in some case this CWM may still work in other devices neither supported or not.. All we can do is try and look for existing CWM that might work for padfone 2..... This link was for galaxy nexus SDK rooting and unlocking bootloader method. http://www.thesuperusersguide.com/instructions-for-linux.html
[Android General] Ivalex:
I concur. We do have already a bloader unlocked. Need an insecure boot.img first of all. If I have time I'm trying in the next few days

Inviato dal mio GT-I9300 con Tapatalk 2
[Android General] ahkai98:
padfone 2 have custom kernel or firmware?!
[Android General] darkvice01:
Yeah but I think according to Asus the unlocking tool they provide you can no longer get OTA update from them. Better to have work around on that one..
[Android General] schriss:
I've created insecure boot img, based on Boot.img from this update file from Asus: TW_A68_9_8_8_55_otauser.zip

It's here: https://dl.dropbox.com/u/45827235/insecure_boot.img

Try booting it first, that is safe because it's not flashing.

fastboot boot insecure_boot.img

If boots OK then see what you can do with that.