[Theme+mod] H818P Genisys UX 5.0 [TOT]

NaughtyDescent

Senior Member
May 26, 2012
108
20
0
Faisalabad
I've got a H815p with bootloop with the ILAPO fix, upgraded to MM and used the MM ILAPO fix which only enables 1 CPU core. I activated the other 3 cores by editing the init.qcom.post-boot.sh file.

Basically mount the system.img (see http://forum.xda-developers.com/showpost.php?p=69435441&postcount=112)
edit system/etc/init.qcom.post_boot.sh and append:

Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/online

echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu1/online

echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu2/online

echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu3/online
Should look like this

Code:
# Enable QDSS agent if QDSS feature is enabled
# on a non-commercial build.  This allows QDSS
# debug tracing.
if [ -c /dev/coresight-stm ]; then
    build_variant=`getprop ro.build.type`
    if [ "$build_variant" != "user" ]; then
        # Test: Is agent present?
        if [ -f /data/qdss/qdss.agent.sh ]; then
            # Then tell agent we just booted
           /system/bin/sh /data/qdss/qdss.agent.sh on.boot &
        fi
    fi
fi

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/online

echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu1/online

echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu2/online

echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu3/online
don't forget permissions & security context & unmount system.img file

follow post #1: Installation Method 2: IMG
Can you make flashable system file so that we on h818p can simply flash it and use g4? I'm noOb just for you know. I'm sorry if i asked fooliush thing to do. Peace

Sent from my KFFOWI using XDA-Developers mobile app

---------- Post added at 04:58 AM ---------- Previous post was at 04:05 AM ----------

Basically I followed op post :
I think download link for bootloop fix .tot file is removed by op . Pls ask him for the link

1 First download and install the drivers and software from the link below.


Install all required LGG4 drivers http://downloads.codefi.re/autoprime/LG/LG_G4/LGUnitedMobile_Win_Driver_Ver_3.14.1.exe
LGUP + DLL patch => https://mega.nz/#!ctcTDQ7A!rE-EHRiyQcK4-SQRGI1b0QpiLn-_ntRL-pz40X4DUco
LG root tools => https://mega.nz/#!gwlTnRaD!TaoDuDzhNM4eTr2efpWbYl7nMPcTUuRrdWSmhC4IqW0

2 Then Download KDZ: https://goo.gl/4yCVYU
and tot file : Ask OP for bootloop fix .tot file 20e ( I think he has removed download link)

3 Open LGUP flash the KDZ with the 'Refurbish' option
4 Then re-flash again using the TOT file with the 'Upgrade' option

That's all ! Remember You should have LG G4 model number H818p to work . No need to follow ILAPO method which requires $25 to enable all four cores
I am getting bootloop still... even after attemting your methode ;/
 

amirseni

Member
Jan 31, 2008
40
7
0
Can you make flashable system file so that we on h818p can simply flash it and use g4? I'm noOb just for you know. I'm sorry if i asked fooliush thing to do. Peace
Unfortunately I can't, my internet connection and bandwidth is extremely limited. However follow the instructions and links that the others have already provided. If you get stuck during the process and a ggl search isn't helpful then just post where you got stuck.
 

jskasia

Senior Member
Jun 4, 2016
206
138
43
Victoria
Can you help me? How can I change the navbar to pixel? I have H815. Thank you!
Here you go (see attached zip).

1. De-compile your LGSystemUI.apk
2. Replace the existing files in /res/drawable
3. Recompile apk
4. Don't forget to zipalign apk
5. Patch your system
6. Done

Ps. I drew them myself so they might be slight different from the Pixel's.
There is no animation, I tried but not success.
 

Attachments

Last edited:
  • Like
Reactions: kicsy023

jskasia

Senior Member
Jun 4, 2016
206
138
43
Victoria
Thanks for your reply. It is a great work that I appreciate. So how can I revert back to v20e or v20d? Do I need to Flash kdz first and tot after it?
Thanks,:laugh:

Simply dirty flash (UPGRADE) over v20h,
if it errors then you need to clean flash (REFURBISH).

After the stock has been flashed, you can flash TOT to update only 'system' partition.
That's all.

Edit: if you choose v20d base, then you'll need to flash using method 2 when you finished upgrade to v20d base.
 

Gameros

Senior Member
Jun 9, 2012
56
7
0
Izmir
Thanks,:laugh:

Simply dirty flash (UPGRADE) over v20h,
if it errors then you need to clean flash (REFURBISH).

After the stock has been flashed, you can flash TOT to update only 'system' partition.
That's all.

Edit: if you choose v20d base, then you'll need to flash using method 2 when you finished upgrade to v20d base.
But if I choose v20e, i can flash with method 1 right?
 

jskasia

Senior Member
Jun 4, 2016
206
138
43
Victoria
Can you pls make bootloop fix version on v20h ?
Here is the link: goo.gl/NK0TgW
I'm not sure which base is for this mod, it should be 20h or 20e. If you have a Bluetooth problem then try to change the base version by choosing 'UPGRADE'.

Ps. The core of CPU is manage by the OS. I disabled some part by the post_boot scripts. However, it might automatically switch on the disabled core randomly, and I can do nothing with this. If you restart the cpu stage will back to dual-core disabled again.
 

georgemb

Member
Dec 26, 2016
25
9
0
Here is the link: goo.gl/NK0TgW
I'm not sure which base is for this mod, it should be 20h or 20e. If you have a Bluetooth problem then try to change the base version by choosing 'UPGRADE'.

Ps. The core of CPU is manage by the OS. I disabled some part by the post_boot scripts. However, it might automatically switch on the disabled core randomly, and I can do nothing with this. If you restart the cpu stage will back to dual-core disabled again.
This is v20e verson . I'm in need of v20h . Is it possible ?