[GUIDE]Xposed and Magisk for Phoenix OS 3.6.1 - Phoenix OS News, Q&A & Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Xposed
I have modified youling257's xposed at Github. Since it is not flashable zip by default, we have to do it our own. Made it x86_64 flashable zip like x86 one. Nothing is changed. Just added x86_64 files to x86 system folder after deleting its contents, changed `arch` to x64 and signed.
We can also install Xposed by below
Download last version of Xposed from
x86 => https://dl-xda.xposed.info/framework/sdk25/x86/xposed-v89-sdk25-x86.zip
(Tip:- 32bit users can directly install Xposed from Xposed Installer app without this manual flashing)
x86_64 => https://forum.xda-developers.com/attachments/xposed-v89-sdk25-x86_64-signed-zip.5197651/
copy it to /data/local/tmp
extract only META-INF/com/google/android/update-binary from the zip to /data/local/tmp
Run below commands in Terminal Emulator app with root.
Code:
su
cd /data/local/tmp
chmod 777 update-binary
if your arch is x86, then run below one
Code:
NO_UIPRINT=1 ./update-binary 2 1 xposed-v89-sdk25-x86.zip
rm update-binary xposed-v89-sdk25-x86.zip
if your arch is x86_64, then run below one
Code:
NO_UIPRINT=1 ./update-binary 2 1 xposed-v89-sdk25-x86_64-signed.zip
rm update-binary xposed-v89-sdk25-x86_64-signed.zip
Download Xposed apk from https://forum.xda-developers.com/attachments/xposedinstaller_3-1-5-apk.4393082/ and install it and restart.
Reference:-
XposedInstaller/app/src/main/java/de/robv/android/xposed/installer/installation/FlashDirectly.java at 8f8f2d7072d1f7b02f237e4ac864e767b7aa6e4c · rovo89/XposedInstaller
Contribute to rovo89/XposedInstaller development by creating an account on GitHub.
github.com
Credits:-
@rovo89
@youling257
@Camlin3 for initial thread.
Enjoy!

Warning:- For some reason, Magisk Modules are not working for me. But Magisk works. Let me know if it works.for you. Also I cannot able to open Windows drives after patching.
Magisk
I have made procedure to patch ramdisk.img and initrd.img of Phoenix OS 3.6.1 x86_64 with https://github.com/shakalaca/MagiskOnEmulator
In PhoenixOS, download below attached zip and extract it somewhere in /sdcard
Copy ramdisk.img and initrd.img from C:\PhoenixOS and paste in the extracted folder
Copy all the files in extracted folder to /data/local/tmp
Execute below code in Terminal Emulator
Code:
su
sh /data/local/tmp/process.sh
mv /system/xbin/su /system/xbin/su.bak
You will get patched initrd.img and ramdisk.img in /data/local/tmp. Save these to somewhere in Windows Drives.
Boot to Windows
Go to C:\PhoenixOS
Backup the initrd.img, ramdisk.img
Place the patched initrd.img and ramdisk.img here
Boot to PhoenixOS
Credits:-
@topjohnwu
@shakalaca
Enjoy!

HemanthJabalpuri said:
Warning:- For some reason, Magisk Modules are not working for me. But Magisk works. Let me know if it works.for you. Also I cannot able to open Windows drives after patching.
Magisk
I have made procedure to patch ramdisk.img and initrd.img of Phoenix OS 3.6.1 x86_64 with https://github.com/shakalaca/MagiskOnEmulator
In PhoenixOS, download below attached zip and extract it somewhere in /sdcard
Copy ramdisk.img and initrd.img from C:\PhoenixOS and paste in the extracted folder
Copy all the files in extracted folder to /data/local/tmp
Execute below code in Terminal Emulator
Code:
su
sh /data/local/tmp/process.sh
mv /system/xbin/su /system/xbin/su.bak
You will get patched initrd.img and ramdisk.img in /data/local/tmp. Save these to somewhere in Windows Drives.
Boot to Windows
Go to C:\PhoenixOS
Backup the initrd.img, ramdisk.img
Place the patched initrd.img and ramdisk.img here
Boot to PhoenixOS
Credits:-
@topjohnwu
@shakalaca
Enjoy!
Click to expand...
Click to collapse
still bootloop there is solution ?

lamjed001 said:
still bootloop there is solution ?
Click to expand...
Click to collapse
I didn't have any bootloops! Try placing stock ramdisk.img and initrd.img in C:\PhoenixOS to get out of bootloop.
Thanks

Related

[Boot Animation] OU Sooners with sound

Disclaimer:I am not responsible if you break,brick,hump,throw against wall or any other action you do to your phone. By using this bootanimation you agree anything that happens is your own noobtastic fault. Any attempts at blaming me for anything other than this being fantastic will result in you being pointed and laughed at.
If you are using BACKSIDE/IHO or have already installed the script dont I REPEAT DONT run the script again. Doing so makes multiple instances of the commands and will stop the bootsound from playing. If you run the script more than once you will have to delete somethings to get it to work. SO be warned DO NOT RUN THE SCRIPT IF YOU HAVE ALREADY OR ARE USING BACKSIDEIHO ROM
Just in time for College Football. Those of you that are Sooner fans will appreciate it and those of you that aren't..well tough!
This features the stock android boot animation with added Oklahoma Sooners Flare.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unzip the file then follow the instructions below.
Root Explorer method:
1. Rename your bootanimation to bootanimation (if not already named this)
2. Put it on your SD card
3. Open Root Explorer and copy bootanimation.zip to /system/media. This will replace the existing boot animation
4. Reboot your phone
ADB method:
1. Make sure you have downloaded android sdk
2. Put android sdk in C:\
3. Set the directory of command prompt to C:\android-sdk-windows\platform-tools. Click here for a video tutorial.
4. Rename your boot animation to bootanimation and put it in C:\android-sdk-windows\platform-tools
5. Open cmd
6. Type in order:
-adb remount
-adb push bootanimation.zip /system/media/bootanimation.zip
-adb reboot
Click to expand...
Click to collapse
You can also preview your bootanimation before rebooting.
In adb type adb shell bootanimation.
To add the sound.
If you are running BACKSIDE or have already installed the script all you have to do is using root explorer copy the file "android_audio.mp3" from the zip you downloaded to /system/media.
Then reboot and you should have awesome bootsound.
If you have never run the script and are not using BACKSIDE then follow the instructions below.
Originally Posted by hockeyfamily737
0. It's recommended to do a nandroid backup first!
1. Download the "bootsnd.sh" file and put it on the root of your sd card.
2. Using root explorer copy the file "android_audio.mp3" from the zip you downloaded to /system/media
3. Open Terminal Emulator and type the following commands using the stock keyboard. Press enter after each line:
su
cd /sdcard
sh
sh bootsnd.sh
reboot
4. As the device boots up you will be greeted by the "Boomer Sooner" sound heard during football games. You are now free to replace the android_audio.mp3 file in /system/media with any .mp3 file you like as long as you rename it to "android_audio.mp3"
5. DO NOT ATTEMPT TO OUTSMART THESE DIRECTIONS OR YOU WILL BE RESTORING YOUR NANDROID BACKUP!
6. Enjoy
Click to expand...
Click to collapse
http://dl.dropbox.com/u/10373328/bootsnd.sh
This one took some time I have been trying to get it working for about 4 hours. Finally just gave up and recreated. That seemed to do the trick. UGH.
If for some ungodly reason you ignored the above warning and installed the script again..read below.
Here is how to fix it.
Make sure you are mounting in r/w mode on each of these steps.
Using a app like root explorer, goto /system/bin and delete the file bootsound.
Back out to /system now open build.prop in text editor mode, look for this text.
Code:
ro.config.play.bootsound=1
Delete it from the build.prop and save and exit.
This is optional but recommened.
Reboot phone.
Verify no sound is playing.
Now run the script again and reboot.
You should have a boot sound again.
Click to expand...
Click to collapse

[TOOL][LINUX] Ezy-Adb - Shell script for the quick install and use of adb on Linux

I made this tool to make adb commands quicker and easier to carry out, as I use adb a fair bit. It's similar to this one but I wanted to include some different functions and put more focus on the hassle free installation of adb on various Linux distributions.
It's a simple script that has the most useful adb commands in a menu format. I also added an adb installation menu which automatically detects what system you have and installs the correct package and it's dependencies. Not every system is supported yet but I'll add more in time.
Code:
[I]I am not responsible for any damages caused by your use of this tool.
Please do some research if you are unsure of anything.[/I]
Features:
Installs adb and configures udev rules.
supports ubuntu, debian, mint, suse, redhat, fedora, centos, elementaryOS, Mageia
Adb over network
Manages files into organised directories
Reboot menu
Pull, push, sideload, shell
Logcats and system dumps
Install and uninstall apps
Unlock bootloaders
Remotely take screenshots and create screen recordings
Full adb backup and restore
More to come
Download Link
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instructions:
Extract file anywhere in your home directory
cd to the same directory as ezy-adb.sh
Open a terminal and change permissions with this command:
Code:
$ chmod 755 ezy-adb.sh
Run the script with:
Code:
$ ./ezy-adb.sh
Thanks to @raziel23x. I learned a lot from studying his apktool script.
Enjoy
Changelog
28/09/15
Initial release
29/09/15
Added diagnostic tools sub menu with dumpsys fuctions
merged log and log dump into diagnostic tools
30/09/15
Added option adb over network
Added option uninstall package
04/10/15
Merged reboot functions into a sub menu
10/10/15
v1.3
Script now scans for a connected device before executing commands
Date in (y,m,d,H,M,S) added to screenshot name
y, H,M,S added to date on screen recording name
Bug fixes
Minor ui tweaks
25/11/15
v1.4
Install adb now supports elementaryOS and mageia
Bug fixes
23/12/15
v1.4.1
Fixed derp on adb install
Art Vanderlay said:
I made this tool to make adb commands quicker and easier to carry out, as I use adb a fair bit. It's similar to this one but I wanted to include some different functions and put more focus on the hassle free installation of adb on various Linux distros.
It's a simple script that has the most useful commands in a menu format. I also added an adb installation command which automatically detects what system you have and installs the correct package and it's dependencies. Not every system is supported yet so i'll add more based on feedback.
Features:
Installs adb and configures udev rules.
supports ubuntu, debian, mint, suse, redhat, fedora, centos
Manages files into organised directories
Reboot menu
Pull, push, sideload, shell
Logcats and dump files
Install apk's
Unlock bootloaders
Remotely take screenshots and create screen recordings
Full adb backup and restore
More to come
Instructions:
Extract file anywhere in your home directory
cd to the same directory as ezy-adb.sh
Open a terminal and change permissions with this command:
Code:
$ chmod 755 ezy-adb.sh
Run the script with:
Code:
$ ./ezy-adb.sh
Download Link
ezy-adb.sh.tar.gz
Thanks to @raziel23x. I learned a lot from studying his script.
Enjoy
Click to expand...
Click to collapse
I've always wanted an easy way to install adb and config udev rules on Ubuntu but i just couldn't so i had to switch to BBQLinux. But now i don't have to :laugh: Thank you bro.
kirito9 said:
I've always wanted an easy way to install adb and config udev rules on Ubuntu but i just couldn't so i had to switch to BBQLinux. But now i don't have to :laugh: Thank you bro.
Click to expand...
Click to collapse
No worries Glad to help.
Nice work m8
Thanks buddy :good:
good job man
in this way it will not be necessary to rename screenshots
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > ~/EZY_ADB/ScreenShots/$(date '+%Y%m%d%H%M%S').png
thanks
asmanao said:
good job man
in this way it will not be necessary to rename screenshots
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > ~/EZY_ADB/ScreenShots/$(date '+%Y%m%d%H%M%S').png
thanks
Click to expand...
Click to collapse
Cheers. That'll make things easier
nice job man, thannks! Your tool makes my nerding easier :laugh:
Thanks, bro, It's Really Helpful

[GUIDE][TUT][WINDOWS/LINUX] How to Extract Nexus Factory Images [EASY METHOD]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HOW TO EXTRACT FACTORY IMAGES​
Hello...Friends,
I want to present my new guide for Nexus and Pixel Users. This is how to extract Google's Nexus and Pixel Factory Images.
I hope you will love it.
INTROUDUCTION
Here is how to extract factory image( system.img ). Some people want to get any apk from factory images. This guide is useful and need for beginner, and I aimed for Google Nexus and Pixel android beginner users.
THANKS YOU
REQUIREMENT
• Computer ( Windows OS or Linux OS )
• SystemImage Extractor Tool ( Windows )
• Image Extractor Tool ( Linux )
HOW TO SETUP
This is very easy method.
For Windows OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Run batch File
For Linux OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Right Click
• Click Open Terminal
DOWNLOAD
Image Extractor Tool ( Windows )
Image Extractor Tool ( Linux )
THANKS & CREDITS
@xda-developers
@xpirt
@matrixex
Thanks You all Sir Developers for Your Tools.
HOW TO EXTRACT ON WINDOWS
• Download SystemImage Extractor Tool Zip
• Extract Zip and Move to Home or Desktop
• Go to Tool's Folder
• Copy your "system.img" and Paste to Tool's Folder.
• Run as batch File
• Choose No.3 and Enter
• Enter
• Extraction Time
• Enter and Done
• Finally, You can see on your Tool location's system folder
HOW TO EXTRACT ON LINUX
• Dowanload Image Extractor Tool Zip
• Extract Zip and Move to Desktop or Home.
• Go to Tool's Folder Location
• Copy your "system.img' and paste to Tool's Location Folder
• Right Click and Open Terminal.
• Enter this
HTML:
mkdir sys
• Enter this
HTML:
./simg2img system.img sys.raw
• Enter this
HTML:
sudo mount -t ext4 -o loop sys.raw sys/
• Enter this
2048MB is the depend on your "system.img" disk size.
HTML:
sudo ./make_ext4fs -s -l 2048M -a system new.img sys/
• Finish
• Finally, You can seen system files on sys Folder.
Reserved for future because it will increase price this thread thank you
TurkishBoy1 said:
Reserved for future because it will increase price this thread thank you
Click to expand...
Click to collapse
Thanks You Bro.

[GUIDE][TUT][WINDOWS/LINUX] How To Extract Pixel Factory Images [EASY METHOD]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HOW TO EXTRACT FACTORY IMAGES​
Hello...Friends,
I want to present my new guide for Nexus and Pixel Users. This is how to extract Google's Nexus and Pixel Factory Images.
I hope you will love it.
INTROUDUCTION
Here is how to extract factory image( system.img ). Some people want to get any apk from factory images. This guide is useful and need for beginner, and I aimed for Google Nexus and Pixel android beginner users.
THANKS YOU
REQUIREMENT
• Computer ( Windows OS or Linux OS )
• SystemImage Extractor Tool ( Windows )
• Image Extractor Tool ( Linux )
HOW TO SETUP
This is very easy method.
For Windows OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Run batch File
For Linux OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Right Click
• Click Open Terminal
DOWNLOAD
Image Extractor Tool ( Windows )
Image Extractor Tool ( Linux )
THANKS & CREDITS
@xda-developers
@xpirt
@matrixex
Thanks You all Sir Developers for Your Tools.
HOW TO EXTRACT ON WINDOWS
• Download SystemImage Extractor Tool Zip
• Extract Zip and Move to Home or Desktop
• Go to Tool's Folder
• Copy your "system.img" and Paste to Tool's Folder.
• Run as batch File
• Choose No.3 and Enter
• Enter
• Extraction Time
• Enter and Done
• Finally, You can see on your Tool location's system folder
HOW TO EXTRACT ON LINUX
• Dowanload Image Extractor Tool Zip
• Extract Zip and Move to Desktop or Home.
• Go to Tool's Folder Location
• Copy your "system.img' and paste to Tool's Location Folder
• Right Click and Open Terminal.
• Enter this
HTML:
mkdir sys
• Enter this
HTML:
./simg2img system.img sys.raw
• Enter this
HTML:
sudo mount -t ext4 -o loop sys.raw sys/
• Enter this
2048MB is the depend on your "system.img" disk size.
HTML:
sudo ./make_ext4fs -s -l 2048M -a system new.img sys/
• Finish
• Finally, You can seen system files on sys Folder.
Thanks, this worked nice and fast extracting the apks. I used the Windows one on Windows 10 no problem. I'll try the Linux one later.
Misterxtc said:
Thanks, this worked nice and fast extracting the apks. I used the Windows one on Windows 10 no problem. I'll try the Linux one later.
Click to expand...
Click to collapse
Thanks You very Much Sir.
required only windows 10 x 64 or 32?
Win 7 not work yes?

[GUIDE][TUT][WINDOWS/LINUX] How To Extract Pixel Factory Images [EASY METHOD]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HOW TO EXTRACT FACTORY IMAGES​
Hello...Friends,
I want to present my new guide for Nexus and Pixel Users. This is how to extract Google's Nexus and Pixel Factory Images.
I hope you will love it.
INTROUDUCTION
Here is how to extract factory image( system.img ). Some people want to get any apk from factory images. This guide is useful and need for beginner, and I aimed for Google Nexus and Pixel android beginner users.
THANKS YOU
REQUIREMENT
• Computer ( Windows OS or Linux OS )
• SystemImage Extractor Tool ( Windows )
• Image Extractor Tool ( Linux )
HOW TO SETUP
This is very easy method.
For Windows OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Run batch File
For Linux OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Right Click
• Click Open Terminal
DOWNLOAD
Image Extractor Tool ( Windows )
Image Extractor Tool ( Linux )
THANKS & CREDITS
@xda-developers
@xpirt
@matrixex
Thanks You all Sir Developers for Your Tools.
HOW TO EXTRACT ON WINDOWS
• Download SystemImage Extractor Tool Zip
• Extract Zip and Move to Home or Desktop
• Go to Tool's Folder
• Copy your "system.img" and Paste to Tool's Folder.
• Run as batch File
• Choose No.3 and Enter
• Enter
• Extraction Time
• Enter and Done
• Finally, You can see on your Tool location's system folder
HOW TO EXTRACT ON LINUX
• Dowanload Image Extractor Tool Zip
• Extract Zip and Move to Desktop or Home.
• Go to Tool's Folder Location
• Copy your "system.img' and paste to Tool's Location Folder
• Right Click and Open Terminal.
• Enter this
HTML:
mkdir sys
• Enter this
HTML:
./simg2img system.img sys.raw
• Enter this
HTML:
sudo mount -t ext4 -o loop sys.raw sys/
• Enter this
2048MB is the depend on your "system.img" disk size.
HTML:
sudo ./make_ext4fs -s -l 2048M -a system new.img sys/
• Finish
• Finally, You can seen system files on sys Folder.

Categories

Resources