Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Unofficial TWRP Padfone X

OP AdamOutler

21st June 2014, 09:11 PM   |  #1  
Introduction:
The padfone X was released last friday and I wanted TWRP. As you may know; @Dees_Troy is on vacation. So, I hacked together this "repack" version which should have all features in order. One caveat with this version though, when launching recovery after it's installed, the screen must time out (2-minutes) before you can push power and see it.


Warning:
Even though you may simply be using your device and just running apps, you are modifying your device. There is no 100% back to stock. You can find a fastboot flashable stock recovery here, but there is no stock system. While this mod did not trigger a "modified status" on my device, I cannot guarantee the same for you. This is a very new device and unless you're one of the few, brave and anxious, it may be in your best interest to wait until a stock firmware update, back-to-stock flash, or even an official XDA-Developers forum has been created for this device.


you will need:
1.The Unofficial TWRP recovery image
2.SuperSU installed on your device
3.TowelRoot installed on your device. You will need to enable third-party sources.
4.Terminal access (pick the one you're more comfortable with)
4a.ADB
4b.Terminal emulator


installation:
If you chose to use ADB, then use these ADB Instructions. Otherwise skip down to Terminal Emulator Instructions.

ADB Instructions
  1. Ensure you have installed SuperSU and TowelRoot.
  2. Launch the TowelRoot app, follow instructions, and let it reboot your device.
  3. navigate to the folder you downloaded ADB (and dll's if you're on windows) and execute the following command.
    Code:
    adb shell "curl 'http://builds.casual-dev.com/files/Asus/Padfone%20X/TWRP-Nexus5repack-AO1.img'>/sdcard/recovery.img; su -c 'dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery' bs=4096; sync; reboot recovery;"
  4. check your device for any pop-ups and grant root access to shell.
  5. wait 2 minutes after the screen is black, and then press power button. This is due to a difference between Nexus5 and PadfoneX which will be fixed in an official version later.

Terminal Emulator Instructions
  1. Ensure you have installed SuperSU and TowelRoot.
  2. Launch the TowelRoot app, follow instructions, and let it reboot your device.
  3. Launch Terminal Emulator and copy-pasta the following into it.
    Code:
    curl 'http://builds.casual-dev.com/files/Asus/Padfone%20X/TWRP-Nexus5repack-AO1.img'>/sdcard/TWRPrecovery.img; su -c 'dd if=/sdcard/TWRPrecovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery' bs=4096; sync; reboot recovery;
  4. check your device for any pop-ups and grant root access to shell.
  5. wait 2 minutes after the screen is black, and then press power button. This is due to a difference between Nexus5 and PadfoneX which will be fixed in an official version later.


Conclusion
Congratulations, you've got TWRP installed on your device. Now you can back up, restore, and install TWRP Flashable Zips. Please leave a comment and tell others how it worked. This worked great for me, Image below.




Attached Thumbnails
Click image for larger version

Name:	20140621_134628.jpg
Views:	6045
Size:	136.5 KB
ID:	2810607  
Last edited by AdamOutler; 22nd June 2014 at 08:04 PM.
The Following 4 Users Say Thank You to AdamOutler For This Useful Post: [ View ]
21st June 2014, 10:10 PM   |  #2  
@Dees_Troy has a helpful suggestion:
Quote:

Might be worth mentioning Settings -> Screen and lower the screen timeout to help get the screen up and running sooner
Whatever you do, don't turn off the screen timeout though

By turning down the screen timeout you only need to wait for two minutes, one time. Turn it down to 30 seconds to reduce the wait time.

Again, this is temporary for this unofficial build. I will update these instructions later when we have a proper solution to perform the needed hardware reset.
The Following User Says Thank You to AdamOutler For This Useful Post: [ View ]
22nd June 2014, 03:38 AM   |  #3  
Senior Member
Newport Beach, Ca
Thanks Meter: 40
 
373 posts
Join Date:Joined: Mar 2007
I can't wait to see development for this phone!!!! Thank you for all your hard work.
The Following User Says Thank You to alleyezondisromo For This Useful Post: [ View ]
22nd June 2014, 02:47 PM   |  #4  
Member
Thanks Meter: 5
 
61 posts
Join Date:Joined: Mar 2011
More
This is great, now all we need is a device thread.
The Following User Says Thank You to NH2G For This Useful Post: [ View ]
25th June 2014, 09:43 AM   |  #5  
Senior Member
Newport Beach, Ca
Thanks Meter: 40
 
373 posts
Join Date:Joined: Mar 2007
What do we need to do , in order to get that going ? this device has great potential !!!
The Following 2 Users Say Thank You to alleyezondisromo For This Useful Post: [ View ]
25th June 2014, 05:51 PM   |  #6  
Senior Member
Newport Beach, Ca
Thanks Meter: 40
 
373 posts
Join Date:Joined: Mar 2007
Adam have you put on the screen protector i saw you bought from ATT? i can't figure out how to properly place it because very time i go into tablet mode and i pull the phone out the phone protector always has a bubble or two from sticking to the tablet ... not sure if that makes sense lol
29th June 2014, 08:02 PM   |  #7  
Member
Flag Detroit
Thanks Meter: 3
 
63 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by AdamOutler

Introduction:
The padfone X was released last friday and I wanted TWRP. As you may know; @Dees_Troy is on vacation. So, I hacked together this "repack" version which should have all features in order. One caveat with this version though, when launching recovery after it's installed, the screen must time out (2-minutes) before you can push power and see it.


Warning:
Even though you may simply be using your device and just running apps, you are modifying your device. There is no 100% back to stock. You can find a fastboot flashable stock recovery here, but there is no stock system. While this mod did not trigger a "modified status" on my device, I cannot guarantee the same for you. This is a very new device and unless you're one of the few, brave and anxious, it may be in your best interest to wait until a stock firmware update, back-to-stock flash, or even an official XDA-Developers forum has been created for this device.


you will need:
1.The Unofficial TWRP recovery image
2.SuperSU installed on your device
3.TowelRoot installed on your device. You will need to enable third-party sources.
4.Terminal access (pick the one you're more comfortable with)
4a.ADB
4b.Terminal emulator


installation:
If you chose to use ADB, then use these ADB Instructions. Otherwise skip down to Terminal Emulator Instructions.

ADB Instructions

  1. Ensure you have installed SuperSU and TowelRoot.
  2. Launch the TowelRoot app, follow instructions, and let it reboot your device.
  3. navigate to the folder you downloaded ADB (and dll's if you're on windows) and execute the following command.
    Code:
    adb shell "curl 'http://builds.casual-dev.com/files/Asus/Padfone%20X/TWRP-Nexus5repack-AO1.img'>/sdcard/recovery.img; su -c 'dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery' bs=4096; sync; reboot recovery;"
  4. check your device for any pop-ups and grant root access to shell.
  5. wait 2 minutes after the screen is black, and then press power button. This is due to a difference between Nexus5 and PadfoneX which will be fixed in an official version later.

Terminal Emulator Instructions
  1. Ensure you have installed SuperSU and TowelRoot.
  2. Launch the TowelRoot app, follow instructions, and let it reboot your device.
  3. Launch Terminal Emulator and copy-pasta the following into it.
    Code:
    curl 'http://builds.casual-dev.com/files/Asus/Padfone%20X/TWRP-Nexus5repack-AO1.img'>/sdcard/TWRPrecovery.img; su -c 'dd if=/sdcard/TWRPrecovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery' bs=4096; sync; reboot recovery;
  4. check your device for any pop-ups and grant root access to shell.
  5. wait 2 minutes after the screen is black, and then press power button. This is due to a difference between Nexus5 and PadfoneX which will be fixed in an official version later.

Didn't work for me. Just look like in TE it kept looking for a response back from the server. I tried to download the img manually and looks like the server is down or something.
29th June 2014, 11:04 PM   |  #8  
Quote:
Originally Posted by FUZER384

Didn't work for me. Just look like in TE it kept looking for a response back from the server. I tried to download the img manually and looks like the server is down or something.

It's working now. Server was, in-fact down earlier.
29th June 2014, 11:21 PM   |  #9  
Demazda's Avatar
Member
Flag Montpellier
Thanks Meter: 39
 
71 posts
Join Date:Joined: Jan 2013
Donate to Me
More
As they (nearly) share the same hardware, do you think it would be possible to compile a working recovery from Asus PadFone Infinity 2 (A86) sources?

Here is a link: http://www.asus.com/Tablets_Mobile/T...Desk_Download/
(or: http://dlcdnet.asus.com/pub/ASUS/Mob...394-kernel.zip for a direct link)

As Asus has not released PFX kernel sources on their site, I think it could be useful.
30th June 2014, 01:35 AM   |  #10  
Quote:
Originally Posted by Demazda

As they (nearly) share the same hardware, do you think it would be possible to compile a working recovery from Asus PadFone Infinity 2 (A86) sources?

Here is a link: http://www.asus.com/Tablets_Mobile/T...Desk_Download/
(or: http://dlcdnet.asus.com/pub/ASUS/Mob...394-kernel.zip for a direct link)

As Asus has not released PFX kernel sources on their site, I think it could be useful.

Not without a device in-hand. I won't try to troubleshoot without it.

However, I use mkbootimg_tools and it requires a Linux system, not windows.
to get reccovery.img
Code:
 adb shell su -C dd if=/dev/block/platform/*/by-name/recovery of=/sdcard/recovery.img
adb pull /sdcard/recovery.img
to uncompile original boot.img
Code:
mkboot recovery.img oringialoutput
this opens recovery.img and creates a ramdisk from it which you can freely edit. Now, do the same with TWRPRecovery.img

you will copy the following folders from the TWRP ramdisk to the originaloutput ramdisk. but heed the notes here.

/sbin -- replace only recovery, but copy all files over to the new device.
/res and /etc -- do not replace files, but add in TWRP files to this and its subdirectories.
/supersu -- this does not exist on the new ramdisk, so just copy it.

you will have to navigate to originalrecovery/ramdisk/system, then copy /system/bin into /sbin, then delete /system/bin, finally link /system/bin to /sbin. the positioning is important and you cannot use fully qualified paths to link the files here. it must be linked to ../sbin, specifying one folder up, a folder called "sbin", not /home/username/whatever...

Code:
cd originalramdisk/system/
cp ./bin/* ..//sbin
rm -rf ./bin
ln -s ../sbin
And then you're ready to repack.

[code]mkboot originalramdisk myNewRecovery.img[code]
now you can copy myNewRecovery.img to your SDCard and flash it using the DD method I showed in the OP.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes