FORUMS
Remove All Ads from XDA

[GUIDE][TREBLE][LG-F400]Create a vendor partition & Let your LG-F400 support treble

52 posts
Thanks Meter: 67
 
Post Reply Email Thread
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Create a vendor partition for LG-F400 & Flash TWRP Recovery support treble

[Author]: Cyborg2017 (Cyborg Yang)
Github: https://github.com/Cyborg2017
Email: [email protected]
Telegram: https://t.me/Cyborg2017

[Device Tree]:
https://github.com/lge-devs/twrp_treble_device_lge_f400

[Download]: TWRP Recovery support treble:
https://androidfilehost.com/?fid=1395089523397899645

[Guide PDF]:
https://www.androidfilehost.com/?fid...89523397899658

[Preparation]:
You need to flash twrp_recovery_treble_f400.img (which I provided);
Restart to the twrp recovery interface.

[Start](Make sure you do the following in the twrp recovery support treble interface):
1.
Code:
$ adb devices
2.
Code:
$ adb shell
3.
Code:
~# parted /dev/block/mmcblk0
4.
Code:
(parted) Unit MB // Set the unit to “MB”
5.
Code:
(parted) p  // Print partition information
6.
Code:
(parted) rm 41  // delete “/cache”
7.
Code:
(parted) rm 42  //delete “/userdata”
8.
Code:
(parted) rm 43  //delete “/grow”(no use)
9.
Code:
(parted) mkpartfs 41  // create “/cache”
Code:
File system type?  [ext2]?  (Enter) 
Start? 2953
End? 3142
10.
Code:
(parted) mkpartfs 42  // create “/userdata”
Code:
File system type?  [ext2]?  (Enter)
Start? 3142                                                               
End? 30568
11.
Code:
(parted) mkpartfs 43  // create “/vendor”
Code:
File system type?  [ext2]?  (Enter)                                             
Start? 30568                                                              
End? 31269
12.
Code:
(parted) name 41 cache
13.
Code:
(parted) name 42 userdata
14.
Code:
(parted) name 43 vendor
15.
Code:
(parted) p  // means “print”
16.
Code:
(parted) q  // means “quit”
17.
Code:
~ # reboot recovery  // reboot into twrp recovery
18. Restart your phone into TWRP RECOVERY (provided by me):
(1) Repair or convert file system: Convert file system: EXT4;
(2) Convert cache, data, and vendor partition to EXT4; 

19. Congratulations! Your device already supports treble!



20. If you need a more detailed tutorial (including image + text), please download the guide:
https://www.androidfilehost.com/?fid...89523397899658

Or contact me:
https://t.me/Cyborg2017
The Following 5 Users Say Thank You to yang_w For This Useful Post: [ View ] Gift yang_w Ad-Free
 
 
26th February 2019, 04:59 AM |#2  
Senior Member
Flag Hanoi
Thanks Meter: 128
 
More
What 😳
27th February 2019, 11:20 AM |#3  
Member
Thanks Meter: 10
 
More
treble rom
Which kind of treble rom must I use?

arm or arm64?

A or AB?

A little bit more information would be nice.

Thanks for your work.
27th February 2019, 12:13 PM |#4  
Senior Member
Flag Hanoi
Thanks Meter: 128
 
More
Quote:
Originally Posted by lokalkey

Which kind of treble rom must I use?

arm or arm64?

A or AB?

A little bit more information would be nice.

Thanks for your work.

Arm and A only
The Following 2 Users Say Thank You to Thanhbat For This Useful Post: [ View ] Gift Thanhbat Ad-Free
1st March 2019, 11:24 AM |#5  
OP Member
Flag Wuhan
Thanks Meter: 67
 
More
Quote:
Originally Posted by lokalkey

Which kind of treble rom must I use?

arm or arm64?

A or AB?

A little bit more information would be nice.

Thanks for your work.

A only,Thanks for your support, I will upload the basic Rom that supports treble soon.
The Following 3 Users Say Thank You to yang_w For This Useful Post: [ View ] Gift yang_w Ad-Free
1st March 2019, 02:04 PM |#6  
Senior Member
Flag Hanoi
Thanks Meter: 128
 
More
Quote:
Originally Posted by yang_w

A only,Thanks for your support, I will upload the basic Rom that supports treble soon.

Are you planning bring to more g3 variants?
The Following User Says Thank You to Thanhbat For This Useful Post: [ View ] Gift Thanhbat Ad-Free
1st March 2019, 02:07 PM |#7  
OP Member
Flag Wuhan
Thanks Meter: 67
 
More
Quote:
Originally Posted by Thanhbat

Are you planning bring to more g3 variants?

If I can get the partition table information of other G3 devices, I am happy to do this.
The Following 3 Users Say Thank You to yang_w For This Useful Post: [ View ] Gift yang_w Ad-Free
2nd March 2019, 05:58 PM |#8  
SnowFuhrer's Avatar
Senior Member
Flag Spirit River
Thanks Meter: 208
 
More
Quote:
Originally Posted by yang_w

If I can get the partition table information of other G3 devices, I am happy to do this.

How can I get the partition table info from mine? D852
2nd March 2019, 06:13 PM |#9  
OP Member
Flag Wuhan
Thanks Meter: 67
 
More
Quote:
Originally Posted by iloveoreos

How can I get the partition table info from mine? D852

Contact me directly with telegran, I will help you.
search: Cyborg2017
2nd March 2019, 09:22 PM |#10  
Senior Member
Flag Olympia
Thanks Meter: 62
 
Donate to Me
More
Here is a dump of the partition table everyone uses for the exploitable vs985 12B bootloader (can bypass recovery and system sigcheck with bump, don't bother with any other tables):

http://glacialsoftware.net/vs985tabledata.zip

(Everyone else please note that host is limited bandwidth, it's a small file but still don't kill my server please. )

So yeah, If you could add vs985 treble support for it that would be excellent! I am an experienced debricker and somewhat experienced developer and would be happy to test to further the efforts to add support to this device.

Thanks!

-RTB
3rd March 2019, 07:34 AM |#11  
OP Member
Flag Wuhan
Thanks Meter: 67
 
More
Quote:
Originally Posted by R-T-B

Here is a dump of the partition table everyone uses for the exploitable vs985 12B bootloader (can bypass recovery and system sigcheck with bump, don't bother with any other tables):

http://glacialsoftware.net/vs985tabledata.zip

(Everyone else please note that host is limited bandwidth, it's a small file but still don't kill my server please. )

So yeah, If you could add vs985 treble support for it that would be excellent! I am an experienced debricker and somewhat experienced developer and would be happy to test to further the efforts to add support to this device.

Thanks!

-RTB

The txt shows garbled characters, you can contact me with telegram, so I can help you.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes