Hovatek Forum DEVELOPMENT Android [Please help] How to permanently (not temporarily) root phone?
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Please help] How to permanently (not temporarily) root phone?

[Please help] How to permanently (not temporarily) root phone?

nijazxp
nijazxp
nijazxp
Techie Member
55
25-12-2017, 03:21 PM
#1



I installed original lg x160 firmware on my lg x150, because i am still fixing my system partition using some tools... But when I root this phone using kingoroot on pc it only lasts until reboot. On kingoroot website they say: https://www.kingoapp.com/knowledge-base/...y-root.htm
But I unlocked my bootloader as you said in guide here. But it is still temporary. My adb clearly says that bootloader is unlocked, even after few reboots. I rooted it 5 times, and it's always temporary. Also all changes I do to system partition get removed on reboot. All files are original untouched on reboot, even when i change them (verified via root integrity check in recovery).

Could it be because I am using other phone firmware? Or could it be because i damaged my imei and similar data, probably because i used "format all + download" option in spflashtool? Will my data be recovered if i flash my readback that i did from bootloader (0x0) up to system partition (i didn't readback bmtpool weirdeness, cache, and data)?

Is imei stored somewhere in between those that i did readback? Or should I just try? I will try... Interesting question is will my lg x150 bootloader cause lg x150 firmware to be permanently rooted? I will try that too while you answer. I doubt in use of writeimei tool, because this new firmware supports 2 sim cards or 2 imeis, while my hardware or original firmware support only one, so it may cause more damage and confusion. Hopefully readback download will solve all. It would be interesting to know exact memory locations of imei and other data, gonna investigate it too.
This post was last modified: 25-12-2017, 03:33 PM by nijazxp.
X3non
X3non
X3non
Recognized Contributor
22,062
26-12-2017, 04:49 PM
#2
(25-12-2017, 03:21 PM)nijazxp I installed original lg x160 firmware on my lg x150, because i am still fixing my system partition using some tools... But when I root this phone using kingoroot on pc it only lasts until reboot. On kingoroot website they say: https://www.kingoapp.com/knowledge-base/...y-root.htm
But I unlocked my bootloader as you said in guide here. But it is still temporary. My adb clearly says that bootloader is unlocked, even after few reboots. I rooted it 5 times, and it's always temporary. Also all changes I do to system partition get removed on reboot. All files are original untouched on reboot, even when i change them (verified via root integrity check in recovery).

Could it be because I am using other phone firmware? Or could it be because i damaged my imei and similar data, probably because i used "format all + download" option in spflashtool? Will my data be recovered if i flash my readback that i did from bootloader (0x0) up to system partition (i didn't readback bmtpool weirdeness, cache, and data)?

Is imei stored somewhere in between those that i did readback? Or should I just try? I will try... Interesting question is will my lg x150 bootloader cause lg x150 firmware to be permanently rooted? I will try that too while you answer. I doubt in use of writeimei tool, because this new firmware supports 2 sim cards or 2 imeis, while my hardware or original firmware support only one, so it may cause more damage and confusion. Hopefully readback download will solve all. It would be interesting to know exact memory locations of imei and other data, gonna investigate it too.

no, loss of imei / data shouldn't interfere. not even format all + download.

for recovering data, if you are referring to media files / apps stored and installed on the device storage, no they won't return. those data are stored in userdata partiton [which you didn't include in your dump].

imei is usually stored in secro and nvram [secro should fix unknown baseband while nvram should fix invalid imei]
if baseband is intact, then you can try other imei fixing methods @ https://www.hovatek.com/forum/thread-116.html

for permanent root, after unlocking bootloader you could try flashing supersu.zip via a custom recovery
This post was last modified: 26-12-2017, 04:49 PM by X3non.
nijazxp
nijazxp
nijazxp
Techie Member
55
26-12-2017, 05:16 PM
#3
(26-12-2017, 04:49 PM)X3non no, loss of imei / data shouldn't interfere. not even format all + download.

for recovering data, if you are referring to media files / apps stored and installed on the device storage, no they won't return. those data are stored in userdata partiton [which you didn't include in your dump].

imei is usually stored in secro and nvram [secro should fix unknown baseband while nvram should fix invalid imei]
if baseband is intact, then you can try other imei fixing methods @ https://www.hovatek.com/forum/thread-116.html

for permanent root, after unlocking bootloader you could try flashing supersu.zip via a custom recovery

Luckily I have all other partitions of original lg x150 backed up, including nvram and secro...hope they will restore it.
But what is root? Is that only some app like su that gets embedded into system partition? What partitions are modified by doing normal root over pc for example? Is it only system or something more? Just curious. Of course I can investigate it too by comparing readbacks (partitions) before and after root of some phone.

Hmmm...I heard for that method. Looks like it will solve all my problems. Because my original lg x150 firmware has only few apps odexes damaged, but if i download gapps for android 5.0.2, then common recoveries will be able to flash them just like i am supposed to flash supersu from zip. I already tried flashing gapps zip from mediatek recovery, and it didn't work. It somehow doesn't support zip files made probably for rommanager and twrp...but that is already different thread, so no talk about it here. Tell you results after few hours.
X3non
X3non
X3non
Recognized Contributor
22,062
27-12-2017, 05:33 PM
#4
(26-12-2017, 05:16 PM)nijazxp Luckily I have all other partitions of original lg x150 backed up, including nvram and secro...hope they will restore it.
But what is root? Is that only some app like su that gets embedded into system partition? What partitions are modified by doing normal root over pc for example? Is it only system or something more? Just curious. Of course I can investigate it too by comparing readbacks (partitions) before and after root of some phone.

Hmmm...I heard for that method. Looks like it will solve all my problems. Because my original lg x150 firmware has only few apps odexes damaged, but if i download gapps for android 5.0.2, then common recoveries will be able to flash them just like i am supposed to flash supersu from zip. I already tried flashing gapps zip from mediatek recovery, and it didn't work. It somehow doesn't support zip files made probably for rommanager and twrp...but that is already different thread, so no talk about it here. Tell you results after few hours.

su and its binaries are usually loaded into system partition.
partitions modified when rooting will depend on the root exploit used. in most cases, only boot and system will be modified.
nijazxp
nijazxp
nijazxp
Techie Member
55
23-10-2020, 09:41 PM
#5



The only method that worked so far was kingoroot on pc, then supersume to deactivate kingoroot, then supersu apk install, and that's it. Custom recoveries and other methods never worked on LG x150.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram