yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] andromobilogy:
Hello [MENTION=4630246]Hashbang173[/MENTION]

I'm on N modem, official TWRP and LOS 14.1-20180210-UNOFFICIAL-clark.

I have a faulty battery that gives me around 35-45 min of Sot (Its at 23% capacity right now) a day and that means I can have a lot of power off during the day.

Now I'm having this problem that everytime the mobile shuts down due to the low battery life while I try to open the Camera app, it goes in a bootloop. Clearing the cache doesn't help but ONLY a factory reset helps to restart it. I haven't face this problem so far if mobile shuts down while opening other apps but only with the Camera app (Motorola app).

Also don't know if I did something wrong when I shifted from unofficial twrp to the official one before I flashed this ROM but so far I don't know why this happens and during the week need to factory reset a lot and it kinda becoming boring.

Any idea what the issue might be?

Thnx!
[X Style (Pure) Android Development] xabr3:
[MENTION=4630246]Hashbang173[/MENTION] Will the official LOS Oreo update run on Nougat modem? (without downgrading to Marshmallow modem)
[X Style (Pure) Android Development] Hashbang173:
Yes, that is the plan
[X Style (Pure) Android Development] rafmal000:
That's a shame, I wish I knew about this encryption issue before encrypting my phone. I put too much time into getting everything installed and set up so reformatting isn't an option, I'll just have to go without flashing anything until the issue gets resolved. On a semi-related note, does re-flashing TWRP (whether the same version or a different one) cause any issues with booting? Would it be too risky to update TWRP if a new version were to come out?
[X Style (Pure) Android Development] fritzophrenic:
You may be able to decrypt (I haven't tried). If you're willing to risk flashing without taking a backup, adb sideload will work fine. I've flashed recoveries with fastboot without issue.
[X Style (Pure) Android Development] kishore.1401:
Please add 0xA052 device from next build. Thanks
[X Style (Pure) Android Development] Hashbang173:
Here is a test version of TWRP with encryption support for Nougat-based firmware: https://www.androidfilehost.com/?fid=818070582850499631
[X Style (Pure) Android Development] JamesB1976:
Bootloader to add

[MENTION=4630246]Hashbang173[/MENTION] can bootloader version 0xA052 be added as allowed please?
[X Style (Pure) Android Development] Fabiett83:
Hi [MENTION=4630246]Hashbang173[/MENTION], i saw in your AFH a new build of LOS 14.1

https://androidfilehost.com/?fid=673956719939826770

the bootloader is restricted to 0xA052 so is for nougat baseband + modem, right?

my device is stock nougat, BL 0xA052, freshly changed from Motorola since it self bricked going from MM to N

How's the work with 15.1? video recording is still broken? the last build in near a month old...

i tried to self build LOS15.1 following the lineageos build guide and adding:

<project name="HashBang173/android_device_motorola_clark" path="device/motorola/clark" remote="github" />

<project name="HashBang173/android_kernel_motorola_msm8992" path="kernel/motorola/msm8992" remote="github" />

to local_manifest\roomservice.xml but build stopped in the jack phase, do you think i missed something?

Thank you
[X Style (Pure) Android Development] discovery94:
I come from official Nougat, wiped and installed Hashbang's unofficial 14.1 build 20180127. Everything went fine, except now I can't update to any of his later builds. I tried with both the official TWRP and the modded one but nothing works. After flashing a newer build I just get stuck on the warning bootloader unlocked screen looping on and off. The only way to get through is to go back to recovery and reflash build 20180127. Any ideas on how to flash newer builds without getting stuck on the bootloader warning screen?
[X Style (Pure) Android Development] biggaehr:
twrp with encryption fix works for me

Thanks hashbang! I had the same problem as rafmal000. With your new twrp I can browse the content of my encrypted internal storage again. (N-modem, unofficial LOS 14.1)
[X Style (Pure) Android Development] bastardtrees:
Would L or MM modems work on the official 15.1 linage ?
[X Style (Pure) Android Development] big_marcolino:
What are the advantages of the N modem?
[X Style (Pure) Android Development] Hashbang173:
Yes, that build is for the Nougat baseband. I haven't made much more progress with camera on Lineage-15.1, but I'll probably generate a new build within the next few days.

What is your build error?
[X Style (Pure) Android Development] rafmal000:
This worked great, I was able to decrypt through this TWRP and flash what I needed to. Thanks for the quick fix
[X Style (Pure) Android Development] :
Any known cause/fix for crappy audio on 15.1? When I have my volume set to medium there's a lot of audible static and on low I can barely hear what's playing. I remember this was an issue on early N builds but it eventually got fixed
[X Style (Pure) Android Development] fritzophrenic:
I confirm this fixes decryption, thanks so much! I finally can make backups again, I can be much less nervous about installing updated builds!
[X Style (Pure) Android Development] fritzophrenic:
Starting with the February builds, Hashbang updated the filesystem code to be compatible with official TWRP. To flash the new builds you will need to reformat the data partition and do a clean install (credit to [MENTION=1719245]eigerzoom[/MENTION] for the step-by-step):

Select WIPE in twrp, and then ADVANCED WIPE.

Select the Data checkbox and hit the Repair or Change File System at bottom.

Select CHANGE FILE SYSTEM at bottom right.

Select F2FS and proceed with the format.

Select WIPE (again) from home screen choose to wipe dalvik,system,internal & cache

After this you should be able to install as normal.

If you encrypt your device, you probably also want to install [MENTION=4630246]Hashbang173[/MENTION]'s unofficial TWRP build: https://xdaforums.com/showpost.php?p=75851291&postcount=1336
[X Style (Pure) Android Development] BruceWayne54:
if I'm on stock nougat now, would I still need to flash the unofficial builds from afh or is official fine now?
[X Style (Pure) Android Development] fritzophrenic:
You still need the unofficial builds coming from stock Nougat. But you can use official TWRP if you don't plan to encrypt your device.
[X Style (Pure) Android Development] Fabiett83:
I don't have the logs anymore but i think it's caused by the RAM, i can assign only 2 GB to the VM, i have to try again booting directly ubuntu so I can use all 4 GB.

Thank you for the new los 15.1 build, I gave it a try today, camera was not working as expected but I had problems with audio too, no ringtones, notifications, calls, speakerphone, earphones, WhatsApp or YouTube... Nothing! And since this is also my work phone I had to restore los 14.1..
[X Style (Pure) Android Development] ninormalen:
Can any one tell me what bugs have this version: lineage-15.1-20180314-unofficial-clark.zip?
[X Style (Pure) Android Development] kellerman40:
After installing HandBag kernel, I get no camera on latest builds. Any way to sort that out? Anyways good rom, using this now as it is most up to date for our device.
[X Style (Pure) Android Development] :
Sound broke for me, though I did a dirty flash.

Besides that, there's still the usual issue with no rear camera.

EDIT: Front camera worked for me on the 20180210 build, but it looks like it's broken in the latest build. Also, sound is still broken even after wiping /data.
[X Style (Pure) Android Development] kb8no:
15.1 March build also no sound.
[X Style (Pure) Android Development] ninormalen:
Thank you for answering.
[X Style (Pure) Android Development] Gilbed:
Will this newest build (lineage-14.1-20180314-nightly-clark-signed.zip) work on boot loader A052? Thanks
[X Style (Pure) Android Development] big_marcolino:
No, I tested yesterday
[X Style (Pure) Android Development] Gilbed:
Ok, thanks. I hope it will be working in the next version then...
[X Style (Pure) Android Development] biggy238:
No torch/flashlight on 03/07 nightly?

Left RR for this rom, instantly took battery capacity from 8hrs to 16/17hrs. Love it.
[X Style (Pure) Android Development] coldwarrior5:
When is official version coming HashBang173? I'm still combating with unofficial versions, I can get by no problems, but still not very stable. I upgraded from nougat so I cannot install 14.1
[X Style (Pure) Android Development] xabr3:
I tried 14.1 on my previous Moto X Pure but it isn't as stable as stock 7.0

With my new Moto X Pure I'll wait voor 15.1 :) (so I'll stay on stock 7.0 for the time being)
[X Style (Pure) Android Development] parker.stephens:
I've made a custom LOS zip for the A052 bootloader, with support for all the others. It's on my drive so feel free to test it out. It worked for me, so don't blame me for it not working, it must've been operator error somewhere. :) I'll try and do this for all the next releases as soon as I can also.

https://drive.google.com/file/d/1M8OuO-W-yKmswID_Fxrg3ZWQ6gJsQIUy/view?usp=sharing (Yes I know it is called test.zip. It works.)

Please Thank this if it helped you. :):good:
[X Style (Pure) Android Development] eigerzoom:
maybe you could make a thread with the steps on how to achieve this instead of making people trust that you haven't added shadeware to a rom

i realize that true dedication to helping others requires ambition of that goal.

which is why i always shake a fist at people who upload 'fixed' roms instead of taking the time to explain people how to do it.

Why go through all the trouble to 'help' people with your quick fix?

I'm not saying you have created this rom to spy on people or something.

What i'm saying is, give a man a fish he eats for a day, teach him to fish and he eats for a lifetime.

These roms are updated often...if you want to post 'fixed' roms underneath a developer, you should be a developer yourself, and create your own thread.

It would be really shady if everyone posted altered roms in every developers thread with their own optimizations.
[X Style (Pure) Android Development] parker.stephens:
WHOA. Excuse me. I have explained how to do it in posts earlier. Post #1308
[X Style (Pure) Android Development] eigerzoom:
You are really horrible at directions

It doesn't explain anything.

EDIT THE UPDATER SCRIPT

WOW SO INFORMATIVE

i like how you returned later to say 'people shouldn't be installing roms if they cant update the updater script', boy aren't you just a community supporter!!!
[X Style (Pure) Android Development] parker.stephens:
[MENTION=1719245]eigerzoom[/MENTION]

Extract the ROM zip into it's own subdirectory. Then go into the folder META-INF, then com, then google, android, then open updater-script in a text editing program. I prefer Notepad++. Locate the line that says assert getprop ro.bootloader. Should be line 2. You can either add your bootloader by copying another item, or this is easier, edit a line already there, such as "|| getprop("ro.bootloader") == "0xA048" ||" and replace 0xA048 with 0xA052 or the bootloader your device has. Then save it by going to the root folder, not the folder labeled "lineage-14.1-20180314-nightly-clark-signed", but the folder with the folders install, META-INF, system, and etc. Select everything by dragging your cursor over all the files, then right-click, send-to, compressed zip. Name it anything, then copy it to your device however you prefer, I just sideloaded it in TWRP. If you get an error talking about a digest file, you might have accidentally deleted something you shouldn't have. I will attach an updater-script which has already been fixed for the bootloader A052. Make sure updater-script is saved as "updater-script", not "updater-script.txt." For my attachment, remove .txt.

Cheers
[X Style (Pure) Android Development] KC69:
3/17 build of 14.1 up on afh.
[X Style (Pure) Android Development] geopapai:
Hello all

Firtstly [MENTION=4630246]Hashbang173[/MENTION] can you please whitelist bootloader 0xA050 (XT1572 EU). So many thanks for your work.

2nd. I started to clean update to latest unofficial version, being already at 20180127. I had TWRP 3.1.1-0 unofficial installed. I fastboot flashed official TWRP 3.2.1-0 (and also the same unofficial decrypt version from Hashbang later) and when I tried to advanced format (or factory swipe later) I only ended up at TWRP constantly vibrating and rebooting. I only managed to factory wipe by re flashing my unofficial 3.1.1-0. I must also note that my data are ALREADY F2FS formatted. Do I need to reformat it?

Anyway at this point I am blocked by the security check cause of my bootloader not being whitelisted. Will report back.
[X Style (Pure) Android Development] Hashbang173:
Is the 0xA050 bootloader from stock Nougat? If so, I'll add it.

For your issues with TWRP vibrating and rebooting, you will probably have to reformat F2FS. I recommend flashing the official build of TWRP, running fastboot erase userdata, and then formatting data as F2FS in TWRP.
[X Style (Pure) Android Development] geopapai:
Yes stock Nougat, thanks!

I will try. As we speak I am trying the way stated above (tried to edit it myself). I will repost back

EDIT:

1. Deleting userdata did the trick, thanks Hashbang! Did format DATA, flashed, however LOS could not boot (at least for 10 minutes or so...)

2. After some unsuccessful tries I ended up with the following: restored to stock 7 version via TWRP (god saves!). THEN flashed latest unofficial (I edited firts the bootloader whitelist using instructions above THANKS parker.stephens) and opengapps, and tada, now I am restoring my apps... Seems good so far.

I had several hick-ups so far with LOS 14.1, that is why I took the opportunity to clean flash with the latest update. As this is my daily driver I hope this latest version + a fresh install help a bit. I will be waiting for version 15.1 hopefully soon.
[X Style (Pure) Android Development] geopapai:
OK, reporting back.

"All" seems good. Apart from a small lag here and there nothing special.

Now the bad news. Camera does not work. Nor does Open camera. it gave me a "serious camera error" really quick and disapeared, and then all camera apps freeze black. Any solutions? I really need this...
[X Style (Pure) Android Development] parker.stephens:
Glad it worked :good: The camera is a known issue in the latest unofficial 15.1 builds
[X Style (Pure) Android Development] geopapai:
Thanks!

I'm on 14.1 unofficial. I JUST re-flashed los 14.1 and gapps (dirty) and camera is now working. Also very fast (better than my earlier unofficial build). Go figure...
[X Style (Pure) Android Development] kb8no:
Camera works on all 14.1 builds and I can confirm it works on 3/17/18 unofficial. Camera does not work and behaves like that in 15.1 unofficial. You didn't install 15.1 by mistake?

Just confirm you are using TWRP 3.2.1-0 official from TWRP site. Confirm you used AFH Hashbang ROM 14.1 3/17/18 unofficial linked on this site. Confirm you were on stock Nougat. Short of that start over from stock. You only need to format data to f2fs but it must be with stock TWRP 3.2.1-0.
[X Style (Pure) Android Development] *.jpg:
[IMG="He's right, you know"]https://vignette.wikia.nocookie.net/unturned-bunker/images/9/92/He%27s_right_you_know.jpg/revision/latest?cb=20151210133445[/IMG]

I think if you actually looked at the updater script, you'd see for yourself how simple it is.

You don't even have to extract anything. Just use 7zip to navigate to the file, open it, edit it, save it and then when you close it, 7zip will prompt you to update the zip. Do that and it's done.
[X Style (Pure) Android Development] parker.stephens:
I forgot about that method. That's a lot simpler than my method.
[X Style (Pure) Android Development] eigerzoom:
i dont think its a matter of ability, its the matter of seeing flocks of people come in to threads with the same issue on a user driven forum for helping people, and you basically telling them, 'shut up you're stupid, you dont belong here'
[X Style (Pure) Android Development] Monkeyt:
I share the same opinion as you, people have different kinds of knowledge, it's not up to us to exclude them just because they don't know a "trivial" stuff. This way of thinking creates intolerance, and my friend that's not a good thing, no matter where you are/from.
[X Style (Pure) Android Development] geopapai:
Thanks, as I said previously stock Nougat, official TWRP, latest 14.1 unofficial, +(stock opengapps).

Camera (and all similar camera apps) worked AFTER dirty re-flashing latest 14.1 unofficial +opengapps. Anyway, just for referesnce should anyone stumbles on a same issue.

After a day using it I can say that it is more stable that the previous version I had. However some apps just die with an error even after re-installing for example app "send reduced" (I got some back when I set up the phone from google backup).

Also, I tried adb push and at no way it copied anything, giving error "system read-only" (tried adb root, adb shell>su , remount and other shell commands, no change... SUaddon installed if you ask, ADB+apps in settings... Finally I copied using option "tranfer files" via windows... If you know something on this pease drop a line, for future reference (hopefully we won't need it)...
[X Style (Pure) Android Development] fritzophrenic:
Camera and adb work fine for me and have been working fine in the unofficial 14.1 builds since January when I started using them. Some weird fluke or bad install on your device, I guess. :)

In my case, though, I haven't rooted.
[X Style (Pure) Android Development] big_marcolino:
I made this but received this message when I try to flash: "Invalid ZIP file"
[X Style (Pure) Android Development] stevejohnson42:
Try downloading the file again
[X Style (Pure) Android Development] Daredevil 720:
Is there any way to fix the awful sound quality?

I was on the stock ROM ever since I bought the phone until I decided to install the 20180314 nightly. Sound quality is really really bad. The top speaker is way louder than the bottom one and clips a hell of a lot, while at low volumes the sound gets choked up and fluctuates.
[X Style (Pure) Android Development] Hitti2:
Lets begin with the cons of this rom please. Please we already know of the pros like latest security update and it being 7.1.1.

1: Battery issue

2: Flashlight?

3: xposed is not compatible with 7.1.1?

The main three issues concern me.

Has anyone let the mxpe settle for a few days see if the battery experience improves?

Flashlight, does shake work?

What other cons are in this rom.

I'm not bad mouthing the rom at all, I just want to see what others bad experience of this rom is.

What apps do not work with this rom etc?

Thank you.

Sad and happy to see developers are on it before damn lenovo/motorola bastards.
[X Style (Pure) Android Development] Sagar_1401:
Flashlight has been fixed...

Its call chopchop not shake??
[X Style (Pure) Android Development] seang:
what drivers are you guys using for ADB?
[X Style (Pure) Android Development] Spirotot:
Ah, I did a complete wipe/reinstall with one of the nightlies, and this issue went away... UNTIL I dirty-flashed a new nightly, and took new photos. Now any application can still access the "older" photos taken during previous ROMs, but the new photos are not accessible by any applications -- it's not obvious what's going wrong, as the new photos have "rw" permissions, and the same owner/group as the other files.

* Tried temporarily disabling SELinux, no dice.

* Tried removing the 'Storage' permission from apps (like Gallery) that were having issues viewing photos... force-closing the app, re-enabling the 'Storage' permission, and re-starting the app... no dice.

Out of time for now, but might try to keep poking around later... Will post if I find a solution.
[X Style (Pure) Android Development] joker2mbr:
If you find anything else... Please, let us know. This issue is really weird. Initially I thought it could be some permission issue, but couldn't find anything conclusive.

Another problem I'm facing with the ROM: I'm having issues playing videos from streaming services / apps from some cable TV cable channels (ESPN and Globo, from Brazil, for instance). I don't know about Youtube (I will test it later). The videos play fine for a few seconds and then they stop with some generic app error. I didn't test it with the latest nightly yet, but I tried with Dec 7th nightly (clean flashed it) and the problem still occurred. I don't know if other people are having the same issue, though.

**EDIT: dirty flashed the latest nightly and my video issues are gone! :D
[X Style (Pure) Android Development] writely:
I have strange issue with GooglePlay Music in 09/12/16

The sound volume in headphones jumps up after any notifications received.

Nothing like that in 07/12/16
[X Style (Pure) Android Development] Hashbang173:
Try this boot.img: https://www.androidfilehost.com/?fid=745425885120692558
[X Style (Pure) Android Development] DeadPicsel:
Has any one had issues with Random reboots?
[X Style (Pure) Android Development] kicknick1:
In order to flash this ROM, do I need to update twrp then flash or can I just flash the ROM from twrp v. 3.0.0-0?
[X Style (Pure) Android Development] Gulfstream 650:
I'd update TWRP, you're two version behind and there was a lot of bug fixes, take those out of the equation.
[X Style (Pure) Android Development] RK2116:
External SD working good? (I think when you guys talk about "interna" your talking About adopted storage, no?)
[X Style (Pure) Android Development] Sagar_1401:
10/12 build

Fixed overheating issues

Buggs

1) slow motion doesn't work

2) battery bit nice but not upto mark
[X Style (Pure) Android Development] JohnMcW:
Ok, I will have to try this in the morning, will let you know, thanks
[X Style (Pure) Android Development] Cdub1976:
Would be nice if you could post a logcat of your issue other wise hashbang can't help out.
[X Style (Pure) Android Development] Sagar_1401:
How can i send logcat of battery and slow motion?
[X Style (Pure) Android Development] JohnMcW:
update

okay, I flashed the boot.img,

now under settings/ storage I can bring up the ext sdcard, and go into the folders, the size of the files are there, and it let me install rootexplorer.apk

No change in Titanium Backup, files can't be restored, (I tried uninstalling/ reinstalling too)

no change in Cm File Manager, Still says root access may be needed to be enabled (all settings are)

After Root explorer installed, I tried to use it and it just brings up a black screen, no files at all display
[X Style (Pure) Android Development] muelo1000:
My finding as of today 12/10/2016 camera takes pictures and video but once you go to view then they appeared for about two seconds and then goes black. when you look for them in the album they just show up as grey blocks ....hope you can work on this other than that seems pretty stable.

will post back with any future findings
[X Style (Pure) Android Development] objecttothis:
The external sd card works fine however the cm file manager cannot browse to it. Even in root mode it tells you that you need elevated access.
[X Style (Pure) Android Development] RK2116:
Thanks for the info.
[X Style (Pure) Android Development] Hashbang173:
Try this build: https://www.androidfilehost.com/?fid=457095661767122062
[X Style (Pure) Android Development] fritzophrenic:
You can mess with the equalizer in AudioFX. I also found the sound quality pretty bad by default. I would get constant buzzing noise while playing music at volumes greater than 50%. I can make it *better* but still buzzing occasionally on some songs by adjusting the bottom two sliders downward in the equalizer.
[X Style (Pure) Android Development] kadopt:
could anyone view the contents of the external sdcard on 15.1 14th build?

[EDIT]I noticed that I can browse the android folder made by the system but the rest that was there before are like files without extension, even the folders. Maybe I have to format the card or something...[/EDIT]

[EDIT2]audio does not work in the latest build, works in February one, but the red flashes on the border of the screen non longer appear.[/EDIT2]