Fiio X5 3rd gen || 2x AKM 4490 || Balanced Out || DSD || DXD | DTS | Android || Dual Card Slot
Feb 9, 2019 at 5:10 AM Post #14,461 of 15,752

jkbuha

100+ Head-Fier
Joined
Jan 2, 2014
Posts
284
Likes
398
Reboot to twrp recovery and manually wipe cache/dalvik. Reboot and let me know how it goes.
 
Feb 9, 2019 at 5:50 AM Post #14,462 of 15,752
Joined
Jan 30, 2011
Posts
13,315
Likes
24,303
Hi!
After install your kernel (2.5) on 1.2.2, player freeze on boot screen "Fiio smart hi-res DAP".
Please help...

Upd: Starts Optimizing apps but it freezes....

Let it run through - takes a while the first time. After that reboot and it'll work normally.
 
Feb 9, 2019 at 2:38 PM Post #14,463 of 15,752

calmdown

New Head-Fier
Joined
Apr 10, 2016
Posts
32
Likes
14
Sorry if if was already asked before, but the thread got too big to search... So, please could anyone help me? I did a giant mistake of uninstall google services and now some of my apps stoped to work. But I don't know how reinstall services again. Already tried format X5III but services keep out. Tried to download it on some websites but services does nothing, only crashes and close itself forever. Please anyone. Sry for noob question, but I must fix this mess. Thanks
 
Feb 9, 2019 at 2:56 PM Post #14,464 of 15,752

ElKabong

100+ Head-Fier
Joined
Dec 9, 2015
Posts
167
Likes
69
Sorry if if was already asked before, but the thread got too big to search... So, please could anyone help me? I did a giant mistake of uninstall google services and now some of my apps stoped to work. But I don't know how reinstall services again. Already tried format X5III but services keep out. Tried to download it on some websites but services does nothing, only crashes and close itself forever. Please anyone. Sry for noob question, but I must fix this mess. Thanks

I tried that too,only to end up re flashing the firmware, it ended up being faster than the other supposed methods.
 
Feb 9, 2019 at 3:04 PM Post #14,465 of 15,752

WitzyZed

500+ Head-Fier
Joined
Jan 21, 2014
Posts
672
Likes
288
Location
Forest Park, IL
Hopefully this proves useful as a reference for those installing stock or custom firmware ,
and Custom Kernel [by jkbuha & prispewnic] for your very own FiiO X5iii / 3rd Generation !

See here for more info on how to support the developers of this custom kernel, or in hopes for future kernel development(s).

Links to anything you need are provided within. This set of instructions goes for anyone with a windows home computer. To get firmware restores or TWRP installation to work on MacOS see this post and then refer back to this one when applicable.
Best of luck!

-it is recommended for best performance with custom kernel to have external storages formatted as exfat. they may already be formatted as such from the factory if larger than 32gb, but please check before continuing.

I do not recommend using the Fidelizer ROMs without your knowledge that it will prevent proper TWRP / Custom Recovery backups of the system partition from being made. If you experiment with the Fidelizer ROMs, you acknowledge this and recognize you’ll have to use firmware upgrade tool all over again and start from a clean slate every time you encounter something problematic.
Stock is the way to go (first time around, at least).

One could get the 1.2.5 purist rom as well as the FiiO firmware upgrade tool from this link:
http://www.fidelizer-audio.com/fiio-x5iii-purist-rom-version-1-2-5-released/

~EDIT~ Here's 1.2.3 Stock Firmware & Firmware Upgrade Tool. http://fiio-file.fiio.net/X5III firmware upgrade tool FW1.2.3.zip
It's not strictly necessary to install 1.2.5 stock zip afterwards.

Whether or not you're installing custom firmware, I stand by using the firmware upgrade tool to reinstall the stock update.img that comes with it, then installing newer firmware 1.2.X variant afterwards, if you wish. (1.2.3 through 1.2.5 are superfluous...only changes seem to be relegated to FiiO music app and nothing else)

-If going Stock route, Once stock 1.2.X is reinstalled, you can opt to install the X5-ota-1.2.5.zip found here: http://www.mediafire.com/file/qf3x2cf2io6wp97/X5-ota-1.2.5.zip/file via the technical support application. Then perform a factory data reset (in the Settings App) w/ internal storage wipe. Again though, 1.2.3 is adequate. Note: I again recommend Stock over Fidelizer if this is your first rodeo.
-If going Fidelizer route, Once stock 1.2.X is reinstalled, repeat steps but replace the update.img as described below.

Begin by installing the latest usb drivers:
http://fiio-file.fiio.net/FiiO_USB_DAC_Driver-V4.47.0.zip

Then run the RKDriverInstall.exe from the firmware upgrade tool folder.

(Fidelizer Step Only: Delete or remove the ‘update’ disc image file from the firmware upgrade tool folder, and replace it with the ‘update’ disc image extracted from WindowsXPurist1.2.5 zip. The purist disc image will be the smaller of the two.)

Hold down the “Previous Track” rocker button (the one closest to the volume dial) with your player powered down and connect the micro USB cable from your computer to your player.
-You should have heard a connection chime, and your player's screen and blue LED should both remain off. The player is now in the "bootloader" mode
-If holding the Previous Track rocker button has not achieved desired effect, please re-attempt but instead hold the Pause Button when connection to USB cable. If then successful, use this method on subsequent steps requiring bootloader mode.

Right click on the firmware upgrade tool exe in the firmware upgrade tool folder and run as administrator.

With ‘√ Device Connected’ showing, click the green ‘Upgrade Now’ button ONLY ONCE.
-Wait patiently.
-The progress bar will move along, and in the process you will hear several connection chimes.
-STOCK: It is done when your player has booted up to the language selection screen.
-FIDELIZER: It is done when you see the white battery icon on your player's screen, and the blue LED power indicator illuminated.
-You can disconnect USB from player at this time.
-Hold down your player's power button and allow it to boot up/initialize, etc.

From the settings app, scroll to 'System', then hit 'Factory data reset', scroll down and check the 'Erase internal storage' box, hit the grey 'RESET DEVICE' button.
-Let this do its thing and wait for the player to reboot.

- END OF FIRMWARE STEPS -
******************************************************************************************************

Next we've got to install the TWRP (Custom Recovery) loader.
-found here: https://www.androidfilehost.com/?fid=1395089523397899882
-unzip this to your desktop or wherever.

Power off your player again, and put it in bootloader mode by connecting to USB holding down the previous track button.

Open AndroidTool.exe from the loader folder.
- 'One Loader Device Found' should be displayed.
-Make sure that checkbox #2 'boot.img' & #3 'Image\recovery_twrp.img' are checked.

Press 'Run' and wait until the loader operation is completed.

Go to 'Advanced Function' and click "Reset Device".
-You should have heard a connection chime, and your player is released to a powered off and charging state, like when you installed the Fidelizer firmware.
-Go ahead and disconnect your player from USB cable.

Power on your player, allow it to boot up/initialize, etc.

Download the kernel+optimization scripts by jkbuha.
-links hosted by jkbuha found here (3.41 is latest): https://androidfilehost.com/?fid=4349826312261607091

Download SuperSU (root).
-found here: http://www.mediafire.com/file/976u3lvrqjjw5pi/SuperSU_PRO_v2.79SR4.zip/file

It is recommended at this point to turn off the lock screen, changed under Settings app, Device, Security, then Screen Security, set screen lock to none.
Also in Settings app, Device, Display, Sleep After, set to 10 or 30 minutes.
-this will help to make sure you don't miss vital prompts down the line confirming successful kernel optimizations.
-once successful feel free to set these back to your preferred options.

Plug USB back into your player, and mount its internal storage.
-Without being too verbose, you should see the green android guy and a "turn on usb storage" button and click ok
-Once you see the internal storage as a volume on your computer, you're going to want to drag the two zips to an easy to access location, like the 'Download' folder on the X5's internal storage.
-Once that's copied go ahead and safely eject / unmount the X5 volume from your computer
-Click "turn off usb storage" button on your X5
-Power down your X5

To enter TWRP custom recovery, power off your player then simultaneously hold down the following three buttons:
-Play/Pause (Remain pressed until you see blue TWRP splash screen)
-Previous Track (Remain pressed until you see blue TWRP splash screen)
-Power (Release when FiiO ‘Welcome’ logo appears)

You should now be at the home page in TWRP

Just so you have a clean slate to come back to if needed, you can make backups in TWRP. Now is a good time to start.
-Click ’Backup’ Tile
-Select Kernel, Boot, Recovery, Data, & System check-boxes, and Enable Compression
-Swipe to Back Up
-This will be saved under /sdcard/TWRP/BACKUPS/X5/ with an auto-generated title based on when you made the backup.

This backup folder can be copied to your computer (while in TWRP)
-by connecting USB cable
-click the ‘Mount’ Tile from TWRP home menu -de-select all except Internal SD
-click ‘Mount USB Storage’
-do your copying business on computer
-safely eject on computer
-click Un-Mount in TWRP

With a backup made and safely stored, we can get underway...

Go to Home in TWRP

Press 'Install' Tile
-navigate to sdcard/Downloads
-select the SuperSU zip
-swipe to install
-then hit 'wipe dalvik/cache'

Go back home in TWRP
-Go to advanced 'Fix Permissions' then 'Reboot System' (do not check any SE Linux options here)
-If done right you should not see the 'It appears your device is not rooted, would you like to install SuperSU' notice.
-If it does appear, player will hang on reboot.
-Remedy this by doing the SuperSU swipe to install & dalvik/cache wipe TWICE. Then fix permissions (Do both twice, i.e. Install->wipe->Install->wipe->fix permissions)

Let your player reboot and initialize, etc.

Open SuperSU app on your device before you flash the kernel and turn off all logging. ‘Logging Access’ set to ‘None’, ‘Clear Logs’ set to ‘1 Day’ & hit ‘Clear All Logs Now’

Re-enter TWRP Recovery

Press 'Install'
-navigate to sdcard/Downloads
-Select the jkbuha 3.41 multi zip
-swipe to install
-AROMA installer should begin, go through prompts (preferably custom install)
-Select 1416, 1704, or 2016 MHz, recommended to begin with 1416 for stability and move up from there, if your device can handle them.
-disconnect your player from any microUSB connection before clicking Finish
-your player will then automatically reboot.

Depending on the number of applications installed on your device, this app optimization step can take up to 5 minutes or so, but stay vigilant.
-once you get to home screen observe bottom of the display for prompts for user to reboot device.
-these typically show up within 1-2 minutes.
-if user does not manually reboot (hold down power button, reboot) scripts will countdown to an automatic reboot of player (done in about 15-20 minutes)

Upon reboot observe bottom of the display for "Kernel 3.4: All Optimizations Done"

At this point you should have the Fidelizer 1.2.X firmware (if applied) and the latest kernel, scripts, boot optimizations, etc. installed.

Extra stuff:

With root access, you can use a kernel manager (SmartPackKernelManager), as well as an application like Titanium Backup Pro (about $6 on google play store) to freeze applications (like google play services or google services framework).

If you get a permissions error (installer code: 7) during AROMA installer process, install kernel version 2.8 first: https://androidfilehost.com/?fid=1395089523397926869, this will properly set up init.d scripts. Once you get optimizations done prompt with this kernel version, proceed with the 3.41 installer again.

If you get "low system memory" error upon boot, return to TWRP, select 3.41 installer zip again, this time use "Restore" and select only the last option, which will remove the junk application backups (from where they were saved in /system/app/X-Backup and /system/priv-app/X-Backup directories).

Some additional (but recommended) .apk‘s that you will find useful:
Flux (Requires Root)
NewPipe (Lightweight YouTube client)
Root Explorer (Requires Root)
Rotation Control
Simple Keyboard
Simple Reboot (Requires Root)
Via (Lightweight Web Browser)

Optional (but recommended) package(s?) to flash in TWRP:
Migabit’s UI Mod - mirrored from 4PDA - Use this version only if you have removed default FiiO Music Player, as this version assumes the ‘Pure Music Mode’ Drop-Down Menu Tile is gone.
Migabit's UI Mod - Use this version if you've kept FiiO Music Player.

Galleries of screenshots showing my installed apps & whatnot:
System Apps
Neutron Music Player
USB Audio Player Pro (UAPP)
PowerAmp

See here for more info on how to support the developers of this custom kernel, or in hopes for future kernel development(s).
 
Last edited:
Feb 9, 2019 at 3:44 PM Post #14,467 of 15,752

WitzyZed

500+ Head-Fier
Joined
Jan 21, 2014
Posts
672
Likes
288
Location
Forest Park, IL
Feb 9, 2019 at 4:18 PM Post #14,469 of 15,752

MinnieOne

100+ Head-Fier
Joined
Mar 9, 2017
Posts
327
Likes
107
My device is charging right now. Will do ASAP. Thanks!!
You can also follow this, happened to me so I know it works.

:
"In this case, you'll need to run use the Firmware Upgrade tool to burn the firmware. The upgrade tool package can be downloaded from this link: https://www.dropbox.com/s/k96kq9xjzwtb86v/FW1.1.7.rar?dl=0

You need to run the Firmware Upgrade tool on a Windows computer, and please follow the instruction (available in the package) to operate."
 
Feb 9, 2019 at 4:19 PM Post #14,470 of 15,752

MinnieOne

100+ Head-Fier
Joined
Mar 9, 2017
Posts
327
Likes
107
Hopefully this proves useful as a reference for those installing stock or custom firmware (the Fidelizer Purist ROMs by WindowsX), and kernel+scripts (jkbuha & prispewnic from 4PDA).

Many have already done this successfully even with some of the instructions focused or scattered on different pages of the thread.

Links to anything you need are provided within. This set of instructions goes for anyone with a windows home computer. Best of luck!

)
Thanks for doing this, finally something to follow along with. I'll probably pass on this for now because with the newest music app I'm pretty satisfied.
 
Feb 10, 2019 at 6:46 AM Post #14,472 of 15,752

jkbuha

100+ Head-Fier
Joined
Jan 2, 2014
Posts
284
Likes
398
It still freezes on boot screen "Fiio smart hi-res DAP" and it running already for one hour...

No worries, we'll get this fixed. PM me with your boot log (adb logcat) and I'll take a look at what's going on
 
Feb 10, 2019 at 9:12 AM Post #14,473 of 15,752

p0k3m0n

New Head-Fier
Joined
Feb 2, 2019
Posts
2
Likes
0
Location
Europe
I am newbie, so sorry for stupid questions: I need working EQ in Spotify, what I should do?

1) do I need a root? or not?
2) what EQ I should install? I know that are many of them. ViPER is most common, but I am not sure that I really need so power solution. Mayby something lighter exist?
3) I use 1.22 firmware.

I answer myself:
1) root is not problem, Magisk works almost fine. Almost, because after rooting You must recover original boot partition. Root still works after this.
2) none, beacuse EQ do not works on Fiio in Spotify. NOT ANY. Fiio imho fu..k up something with audio stack, and EQ cannot be run as system wide. And I know, this is Spotify fault too, but Fiio either. Eg for LG exist workaround with their DAC, but on Fiio nothing works (even deep_buffer remover). So we have semi-pro audio device without working EQ - "great" invention.
3) who cares. China simply cannot understand how write good Android code. Low level quality of development. 0.22, 1.22 or 10.22 - the same sh..
 
Last edited:
Feb 10, 2019 at 10:42 AM Post #14,474 of 15,752

Persco

Head-Fier
Joined
Mar 21, 2017
Posts
88
Likes
40
Hopefully this proves useful as a reference for those installing stock or custom firmware (the Fidelizer Purist ROMs by WindowsX), and kernel+scripts (jkbuha & prispewnic from 4PDA).

Many have already done this successfully even with some of the instructions focused or scattered on different pages of the thread.

Links to anything you need are provided within. This set of instructions goes for anyone with a windows home computer. Best of luck!

I really wish someone could do this for Mac instructions. The ones on Fidelizer don't work (tried it six ways from Sunday and it never works) and jkbuha's Mac install is very difficult too.
 
Feb 10, 2019 at 12:35 PM Post #14,475 of 15,752

jkbuha

100+ Head-Fier
Joined
Jan 2, 2014
Posts
284
Likes
398
I really wish someone could do this for Mac instructions. The ones on Fidelizer don't work (tried it six ways from Sunday and it never works) and jkbuha's Mac install is very difficult too.

Unfortunately MacOS isn't really supported in China, hence why all the Rockchip toolsets are (mostly) Windows-based.

There exist command-line based tools for macOS, such as the ones I use (rkflashtool), but I haven't found any binaries, and have only been able to get them working by compiling them from source code. If you're on Mojave as well I'll be able to send you my binaries and you might be able to get them to work, but they're command-line based, so you'll need to be comfortable with using Terminal and bash and knowing where your files are.
 

Users who are viewing this thread

Top