[Q] TWRP flash failed - G2 Q&A, Help & Troubleshooting

Hi.
I have LG G2 32gb, D802, 5.0.2 V30a, rooted + TWRP.
When I flash some zip files TWRP says that everything is okay, but did not.
Apps that I flashed crashes when power on the phone.
I noticed that Root browser don't see that flashed files at all. ES file explorer see files but not as it should be. And size of files is 0.
Look screenshot from ES file explorer.

Looks like ordinary theme apks ?
Just install through es file explorer or any other file manager. OR flash the zips (if it's flashable at all) through twrp directly.

Did you read what I wrote? I flashed zips through twrp but files not flashed properly. Not just themes, and other files too.
Size of files is 0:00 B. Root Browser can't see them at all, ES file explorer see them but not as folders, as it should be.

Were those any flashable zips for your D802 LP? Or just normal zipped file..?
It also can be possible the files flashed weren't compatitable with your ROM. U better try asking in the thread from which U tried flashing these Themes.
And everything u flash is giving u error? Any popular keyboard zip (G3 keyboard for G2) or Tried flashing Dorminax Kernel for D802?? Do they flashe successfully?

I found files on this page:
http://sccn.vn/threads/app-lg-g4-port-for-g2-new-update-1-6-2015-other-device-tested.10437/
I did not try keyboard and kernel because I don't need that.
I just wanted G4 smart notice and home...
Themes are part of LG Home flashable zip.
I asked where I found apps, and all zips working fine for them.
When I copy themes and LG home with Root browser then works fine.
Do you have some flashable zip for G2 5.0.2, to try? Keyboard or something that 100% works for me?

Related

[Q] CWM backup-->flashable rom?

I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Goto this thread here
follow all the setup to install cygwin & kitchen
once it's all setup you can plug your phone in and create a rom
follow the guide (second method) for creating the rom system files by extracting the system folders from your phone (rom you are using)
you can then turn it into a flashable rom zip
I think you just basically extract the CWM backup, then repackage them in 1 zip file (except for the androidsecure backup).
9steele9 said:
I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Click to expand...
Click to collapse
YOU CAN USE THE CWM BACKUP IN KITCHEN YO MAKE A CUSTOM ROM.BUT YOU CAN'T ABLE TO USE THE BACKUP FILE DIRECTLY AS A CUSTOM ROM.
OTHER HAND YOU CAN MAKE ALSO THIS BACKUP AS A DEODEXED STOCK ROM BY DEODEXING THIS BACKUP FILES.
YOU CAN FIND KICHEN GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=1801690
YOU CAN FIND DEODEXING GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=2230337
PRESS THANKS IF I HAVE A BIT SUCCESS TO HELPING YOU.....:thumbsup:
Hmm thats how i make roms that i dont post here though....
In tthe cwm backup u have system.rfs.tar
Extract it using 7zip
U get system.img or u might get a system folder....
Extract the img file using Magic Iso
Open magic iso
In menu..
File>open
Select ur system.img
On the left side pane right click on the disk icon and click extract.select ur destination
Once the files are all extracted copy all of them in a folder named "system"
Now get a meta-inf folder from a custom rom and zip
Meta-Inf and system folder together
U have ur rom...
Ill create a video tutorial for this tomorrow as many people ask this question in different threads of devices....
Sent from my GT-S5360 using xda app-developers app

[GUIDE] Install custom fonts via flashable zip on AOSP 4.3 ROMs

I posted this in a ROM thread, but figured it might be useful to others who run 4.3 custom ROMs and want to change their stock system font (apparently users have been getting bootloops when trying to use an app to change the font).
Requirements:
1. Must be rooted.
2. Must have a custom recovery for flashing the zip (so, at this time, only devices with pre-MF3 firmware).
1. Download the font changer flashable zip template that I put together here: http://www.mediafire.com/?3xqzzuov9uhunr5
2. Get a hold of the font you want to change to, making sure it's in *.ttf format.
3. Rename the font to Roboto-Regular.ttf. If the font you downloaded has a Bold variant, download it rename it to Roboto-Bold.ttf.
4a. If you're on your computer, use 7Zip/WinRAR to drag and drop the fonts you just renamed to the "system/fonts" folder within my template. If you renamed them precisely as I specified above, they should overwrite the two existing files of the same name. If your font doesn't have a Bold variant, you don't need to worry about the existing Roboto-Bold.ttf file in the archive (it's the stock bold font from 4.3 ROMs).
4b. If you're doing this from your phone (like I always do), either use Zarchiver (Free app in the Play Store) to perform the same process as described in Step 4a, or just use Root Explorer or something similar to unzip the entire template zip, drop the new fonts in the respective folder, and re-zip the template.
5. Flash away!
I've been using this method (within a custom GAPPs package that I maintain for myself with other customizations like clear GAPPs, etc.) for awhile now, and it's always worked without fail.
In case you're curious, the "custom" font that I use is just the Roboto-Light.ttf that is already included in the stock 4.3 /fonts folder. It's just a bit thinner than the stock font, and just looks cleaner IMO. If you want to try this one out, just flash my template zip without making any changes
I tried this method but it just results in a bootloop. I have this RobotoCondensed4.3.zip that I downloaded from somewhere and it's worked on all the roms I've used but replacing the fonts inside the zip doesn't work for me. and if I flash it after using your method it fixes the bootloop. any ideas? I'm trying to flash the Droid Sans font
deadenz said:
I tried this method but it just results in a bootloop. I have this RobotoCondensed4.3.zip that I downloaded from somewhere and it's worked on all the roms I've used but replacing the fonts inside the zip doesn't work for me. and if I flash it after using your method it fixes the bootloop. any ideas? I'm trying to flash the Droid Sans font
Click to expand...
Click to collapse
Are you flashing this on a fresh ROM install before booting for the first time? That's what it was meant for (there are no permissions-fixing in the updater-script. Can you post that zip you're talking about? I should be able to figure out what exactly it is that is causing it to "fix" the bootloop after using my method.
CPA Poke said:
Are you flashing this on a fresh ROM install before booting for the first time? That's what it was meant for (there are no permissions-fixing in the updater-script. Can you post that zip you're talking about? I should be able to figure out what exactly it is that is causing it to "fix" the bootloop after using my method.
Click to expand...
Click to collapse
no, I don't think I've flashed it on a fresh install. I'll attach a link for the zip.. and if you can figure out how to add the font droid sans to this zip instead of roboto condensed that would be great. also what I like about this zip is that it will change every font on the phone, even the fonts in chrome which nothing else I've tried will do that.. I was using iFont but that didn't change fonts in chrome
RobotoCondensed_4.3.zip (502 KB)
https://mega.co.nz/#!HFti0aRJ!E4fZiWBKIC2zh92YRVOqzlwEOAVJDqgP-XnEO04BxCM
any luck?

[Q] TWRP backup folder visibility in Lollipop

Recently updated my Nexus 10 to 5.01 stock. Installed TWRP 2.8.0.1 and rooted. I did a TWRP backup and in the TWRP file manager I can see the TWRP backup folder and the backup.
When I boot into the system and use either root file manager or ES File manager there is no TWRP folder visible. All I see is what looks like a file named TWRP. It has a question mark as the file type and the size is NA.
On my KitKat phone, I can see the actual folder and backup file(s) using ES File Manager.
Is this normal for Lollipop?.
See this post fit the easy fix
http://forum.xda-developers.com/showpost.php?p=56985526&postcount=567
Sent from my Nexus 10 using XDA Premium HD app
Thanks. That did it.
Can't say I'm loving Lollipop though.
Thanks, easy fix.

Flash Stock ROM missing META-INF directory

Kinda makes this noob sick. I just got a new Moto G4 X1625 (not Amazon). Next came the steps to unlock the bootloader with Motorola and to install TWRP. Everything had gone so easily by following some how-to steps I jumped to the next step of installing SuperSU without doing a backup – thinking it was simply adding an app. Big mistake! Reboot and now always stuck on the logo boot animation.
Okay, so I found and tried use TWRP to install ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip in an attempt to get back to stock. No luck there since install always aborts with a "Could not find 'META-INF/com/google/android/update-binary' in the zip file."
I checked a couple of other ROMs and that META-INF directory doesn't seem to be included in them either.
What do I need to do just to get back to normal eliminating the effects of that SuperSU install? Help greatly appreciated.
That file you downloaded is not a flashable file.
Instead, read this linky
Thanks for the helpful clue @t0mm13b. I followed the approach at <http://www.stechguide.com/download-stock-firmware-of-moto-g4-and-g4-plus/> and executed the listed commands from my MacOS Terminal. They did the job resulting in a fresh install after bootup.
2-1/2 questions…
1. Are flashable ROM files readily available? The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
2. Is TWRP not useful for these stock ROMs?
The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
Click to expand...
Click to collapse
As a general rule of thumb, read the accompanying text to the link of the download, on a web page where you find one. It will tell you if it's flashable or not.
Factory images, just like what you had to carry out previously, never have, and do not have the `META-INF` directory. They usually contain img files that requires `fastboot flash`.
On the other hand, OTAs and flashable zips will have that in their respective zip file.
Thanks again @t0mm13b for the clarification. I often didn't see info about whether a ROM is flashable in link or web page text, but it may have just been assumed based on being aware of what the zip contains.

Need libgnustl_shared.so from MM ROM

Hi, i debloated my note4 and now screen rotation isn´t working anymore.
I have found the problem. I have removed samsung hub and samsung hub updater, so the file libgnustl_shared.so from system/lib is gone.
Please can someone share this file to me? I´m on the lateststock samsung rom from 02/2017 - MM 6.0.1 on my 910f.
Please can also someone tell me, which file is included in facebook app, which also affects the screen rotation, if i remove facebook completely? This file i also want to have.
You can find it in FBAppManager.apk in stock mm rom.Just extract it with 7zip.
But dont know about screen rotation issue.
Bib_x said:
Hi, i debloated my note4 and now screen rotation isn´t working anymore.
I have found the problem. I have removed samsung hub and samsung hub updater, so the file libgnustl_shared.so from system/lib is gone.
Please can someone share this file to me? I´m on the lateststock samsung rom from 02/2017 - MM 6.0.1 on my 910f.
Please can also someone tell me, which file is included in facebook app, which also affects the screen rotation, if i remove facebook completely? This file i also want to have.
Click to expand...
Click to collapse
Attached lib file from N910G QA4 firmware, should work
can someone remind me what folder this file goes in again
Here is the file from latest N910F stock DRI2 unbranded UK firmware. Put it in /system/lib/, with perms 644, and root 0/root 0 for user/group. Any root file manager can do this. Reboot, rotation should work.
This isn't a flashable zip, so don't try to flash with TWRP. Just extract the zip and put the file where I've specified.
AnonVendetta said:
Here is the file from latest N910F stock DRI2 unbranded UK firmware. Put it in /system/lib/, with perms 644, and root 0/root 0 for user/group. Any root file manager can do this. Reboot, rotation should work.
This isn't a flashable zip, so don't try to flash with TWRP. Just extract the zip and put the file where I've specified.
Click to expand...
Click to collapse
thanks much appreciated

Categories

Resources