Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,513 Members 52,480 Now Online
XDA Developers Android and Mobile Development Forum

Unofficial TWRP Padfone X

Tip us?
 
AdamOutler
Old
(Last edited by AdamOutler; 22nd June 2014 at 07:04 PM.)
#1  
AdamOutler's Avatar
Recognized Developer - OP
Thanks Meter 9552
Posts: 5,175
Join Date: Feb 2011
Location: Louisiana

 
DONATE TO ME
Default Unofficial TWRP Padfone X

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:	1909
Size:	136.5 KB
ID:	2810607  
Flash with Odin on Windows, Linux and Mac. Use JOdin3, Available in a web browser or offline
Check out my developer pages. Add me to your circles on Google Plus.
Wanna see the longest Linux BASH script ever made? click here.
The Following 3 Users Say Thank You to AdamOutler For This Useful Post: [ Click to Expand ]
 
AdamOutler
Old
#2  
AdamOutler's Avatar
Recognized Developer - OP
Thanks Meter 9552
Posts: 5,175
Join Date: Feb 2011
Location: Louisiana

 
DONATE TO ME
@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.
Flash with Odin on Windows, Linux and Mac. Use JOdin3, Available in a web browser or offline
Check out my developer pages. Add me to your circles on Google Plus.
Wanna see the longest Linux BASH script ever made? click here.
The Following User Says Thank You to AdamOutler For This Useful Post: [ Click to Expand ]
 
alleyezondisromo
Old
#3  
Senior Member
Thanks Meter 40
Posts: 365
Join Date: Mar 2007
Location: Newport Beach, Ca
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: [ Click to Expand ]
 
NH2G
Old
#4  
Member
Thanks Meter 5
Posts: 59
Join Date: Mar 2011
This is great, now all we need is a device thread.
The Following User Says Thank You to NH2G For This Useful Post: [ Click to Expand ]
 
alleyezondisromo
Old
#5  
Senior Member
Thanks Meter 40
Posts: 365
Join Date: Mar 2007
Location: Newport Beach, Ca
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: [ Click to Expand ]
 
alleyezondisromo
Old
#6  
Senior Member
Thanks Meter 40
Posts: 365
Join Date: Mar 2007
Location: Newport Beach, Ca
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
 
FUZER384
Old
#7  
Member
Thanks Meter 2
Posts: 56
Join Date: Jan 2009
Location: Detroit
Quote:
Originally Posted by AdamOutler View Post
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.
ALL NEW ASUS PADFONE X
MAKO RUNNING PA
 
AdamOutler
Old
#8  
AdamOutler's Avatar
Recognized Developer - OP
Thanks Meter 9552
Posts: 5,175
Join Date: Feb 2011
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by FUZER384 View Post
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.
Flash with Odin on Windows, Linux and Mac. Use JOdin3, Available in a web browser or offline
Check out my developer pages. Add me to your circles on Google Plus.
Wanna see the longest Linux BASH script ever made? click here.
 
Demazda
Old
#9  
Member
Thanks Meter 15
Posts: 48
Join Date: Jan 2013
Location: Montpellier

 
DONATE TO ME
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.
Device: Asus PadFone Infinity 64GB without Station
ROM: Lidenburg's PadFone Infinity ROM OFW-.33 based
Recovery: CWM Recovery for PadFone Infinity
 
AdamOutler
Old
#10  
AdamOutler's Avatar
Recognized Developer - OP
Thanks Meter 9552
Posts: 5,175
Join Date: Feb 2011
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by Demazda View Post
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.
Flash with Odin on Windows, Linux and Mac. Use JOdin3, Available in a web browser or offline
Check out my developer pages. Add me to your circles on Google Plus.
Wanna see the longest Linux BASH script ever made? click here.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes