yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Lite Questions & Answers] kilroystyx:
Try with Magisk 17.1 https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Huawei P20 Lite Questions & Answers] RegeditOrdnas:
it works! thanks for help
[LG G7 ThinQ  Guides, News, & Discussion] Ali Mirza:
https://www.celsoazevedo.com/files/android/google-camera/f/defcomg-fix_OP6_MGC_FINAL_3.4A_WIDE.apk

https://www.celsoazevedo.com/files/...efcomg-fix_OP6v0.3_MGC_5.1.018_FINAL_3.4A.apk

For those who were unsuccessful in trying those GCam by cstark, at https://www.celsoazevedo.com/files/android/google-camera/dev-cstark27/ , the above 2 links, you have to install both of seperately, It's worth using the stunning LG G7 camera! We should thank the developer for working for the OP6 being working on the LG G7. My settings in both cameras were.

1) Pixels auto HDR+ enabled.

2)Final JPG quality HDR+ 100%.

The issue I got was if changed to HDR+ Auto, it becomes unusable. So keep HDR+ On always. If you have better settings, share them below. :).

Both wide and normal results in stunning images. Definitely better than Stock Camera. I hope the future updates will improve our beasts. Enjoy.
[LG G7 ThinQ  Guides, News, & Discussion] Haz3:
Portrait is broken in both I think.
[LG G7 ThinQ  Guides, News, & Discussion] Vattu:
I can't get slowmotion recording to work. Either app just closes.

Skickat från min LM-G710 via Tapatalk
[LG G7 ThinQ  Guides, News, & Discussion] valentin040591:
what hdr + parameters do you use and what phone model from that list?nexus 5.nexus 6.nexus 5x etc? thanks
[LG G7 ThinQ  Guides, News, & Discussion] Kreuger:
Is there a reason these are separate apps?
[LG G7 ThinQ  Guides, News, & Discussion] Ali Mirza:
because too many of these GCams do not work with the LG G7, now I found a new apk with both modes working as included in single apk.

https://www.celsoazevedo.com/files/android/google-camera/f/cstark27_GCam_5.1.018_24_v4.2t2.apk
[LG G7 ThinQ  Guides, News, & Discussion] c0des:
Wow thanks! What are the recommended advanced settings?
[LG G7 ThinQ  Guides, News, & Discussion] kwaze:
In case you're like me and glanced over the OP, it will not work until you change HDR to always on instead of auto - as mentioned by the OP. I'm going to check it out. I've been disappointed with the low light photo quality on the stock camera. Hoping this helps!
[LG G7 ThinQ  Guides, News, & Discussion] mangoman:
what are the best settings?
[LG G7 ThinQ  Guides, News, & Discussion] notroid:
Hi. Does gcam have the same shutter lag as original camera app?

If it does, so how to fix that? Any tips is appreciated.

Sorry if it is not right place to ask. I am just frustrated and do not find any solution for that.

Thanks!
[LG G7 ThinQ  Guides, News, & Discussion] Inerent:
IMO gcam sucks compared to stock... This is why I have uninstalled it.
[LG G7 ThinQ  Guides, News, & Discussion] Love2Flash:
I have oneplus 7t pro mclaren.

Will it work with oneplus 7t pro mclaren?
[P8 Lite (2017) Discussion] Atiqx:
Hello,

I'm on 8.0.0.370 stock rooted with Magisk with my PRA-LX1

Since a long time my Fingerprint settings and Gallery window freeze & force close

Already tryed to wipe dalvic and cache..

Hope that anyone can help me

Thanks
[Samsung Galaxy S9  Questions & Answers] amjadRR:
Hey all ..

i am a new member here and new member in samsung s9

suddenly yesturday some of my contact phone numbers disappeared and till now i am searching for any solution !!:confused::confused:
[Samsung Galaxy S9  Questions & Answers] *Detection*:
Sync them via Google account sync settings
[Samsung Galaxy S9  Questions & Answers] amjadRR:
I already synced them but still the same problem !
[Samsung Galaxy S9  Questions & Answers] *Detection*:
Check in https://www.google.com/contacts and see if they are all still there, if yes, then export them from that site onto a PC

Make sure you have the export file safely saved

Now delete all contacts from your phone (This will probably delete them all from Google/contacts too)

Now IMPORT that saved file back into https://www.google.com/contacts and then sync the phone again

Now contacts should appear both on Google/contacts, and on the phone

This happened to me once and that was the only fix
[Nexus 5 Original Android Development] Clamor:
Nexus 5 Repartition​

No one is responsible for your actions except yourself. Everything written further may potentially brick your device, although risk is reduced to minimum.

This repartition package offers 1.5G /system; a /vendor partition and it is fully backward compatible with any ROM (including stock system.img).

Known-issues

- If repartition pack says that device isn't correct,
than, if partition table wasn't modified before,
congrats! your device has different memory chip
that those I worked with. No worry, PM me and
I'll add support for it.

DO THE BACKUPs. Repartition will erase all your data

USB connection to PC is MANDATORY else you will not have opportunity to push ROM to your device

Installation

# Before processing further we highly recommend you backup persist using terminal and dd comand and EFS
# Or you might lose your IMEI/WIFI + BT mac addresses

# This mod is backwards compatible with any ROM so we highly recommend NOT to reverse it if repartition went well.
# You should use ONLY recovery from this thread since other don't support all benefits of this mod.
# When installing ROM just after you flashed zip and before installing GAPPs you MUST make a resize in TWRP since all roms are build for ~1G system.
# To restore stock layout use same zip and steps as for repartition.

1. Boot into recovery (You need to allow system partition modification to be able resize /system in recovery).
2. Backup your data & Move your files from flash to your PC.
3. Flash repartition pack zip.
4. Do the actions asked by repartition pack (go to Terminal in ordinary recovery and input word that pack will tell you. Everything else will be done automatically).
5. Phone will reboot into recovery.
6. Install TWRP from below (it is build with support of new partitions layout and sizes. It can be differed from official TWRP by next format 3.x.x-1 UA).
7. Format everything. (mount errors will not affect formatting!)
- In TWRP: Wipe > Format data
- Type yes
- Once this completes go to: Wipe > Advanced Wipe
- Tick all the boxes and wipe. There should be no further mount errors.
8. Install ROM which you like.
9. Enjoy better flash partition layout.

If something gone wrong - we recommend you NOT to do anything by yourself. Write here for help, else you may do only worse.

Downloads:

Repartitioning package: GitHub

Credits:

Special thanks to

- Unlegacy-Android team;

- Sudokamikaze;

- surfrock66 for his gide for Nexus 5;

As usual, feedback is appreciated :)

XDA:DevDB Information

Nexus 5 Repartition, Tool/Utility for the Google Nexus 5

Contributors

Clamor

Source Code: https://github.com/clamor95/android_device_unlegacy_recovery

Version Information

Status: Stable

Created 2018-09-19

Last Updated 2019-01-18
[Nexus 5 Original Android Development] Clamor:
Common issues and F. A. Q.

Repartition pack should be safe for most devices. Common mistakes, issues and their solution will be published here.

1. You shouldn't flash any internal parts of repartition pack (*.sh files) only flash whole zip using TWRP. You may use my scripts for personal use or projects but authorship should to be kept.

2. If something isn't mounting after repartition try to format partitions that don't mount using Wipe -> Advanced Wipe in TWPR. Ideally you should format in that way all partitions in Advanced Wipe menu (see 5-th step of installation guide).

3. To be sure that repartition went well I enclose loging zip. Flash it after repartition (when device reboots into TWRP). It won't modify anything only generates a partition.log in root of internal storage and outputs your current partition layout to screen. You shoud check if your layout is same as those fragments I provide under spoiler (file systems doesn't matter). If there are any differences you have to discribe what you did and enclose partition.log to your post.

HAMMERHEAD STOCK

25 192937984B 1266679807B 1073741824B system
26 1266679808B 1298137087B 31457280B crypto
27 1298137088B 2032140287B 734003200B cache

HAMMERHEAD MODIFIED

25 192937984B 1803551231B 1610613248B system
26 1803551232B 2065695231B 262144000B vendor
27 2065695232B 2097152511B 31457280B crypto
28 2097152512B 2306867711B 209715200B cache

4. Flashable resize zip for ROMs that support addon.d (automatic resize when dirty flashing updates).

5. To backup persist partition you need PC with installed adb. Boot your hammerhead in TWRP and plug to PC. Than use next commands.

adb root
adb shell
dd if=/dev/block/mmcblk0p16 of=/sdcard/persist.img

Than copy .img file from root of internal storage to your PC. Although, script doesn't affect that area, backup of this partition may help in case of any problems with mac address etc.
[Nexus 5 Original Android Development] sinkoo1979:
Thank you for this zip!!! It works fine but I used nano package gapps for the face unlock but still does not work on LOS 15.1. Any suggestions
[Nexus 5 Original Android Development] getrooted0019:
Vendor partition means support for treble.... Right?

---------- Post added at 04:11 AM ---------- Previous post was at 03:44 AM ----------

After flashing a ROM the system partition resizes back to 1009mb...

Can this be fixed?
[Nexus 5 Original Android Development] Clamor:
[MENTION=7826996]sinkoo1979[/MENTION] try bigger gapps, alse, it may be Lineage problem.

[MENTION=7401020]getrooted0019[/MENTION] you didn't read Installation part carefully, did you? You need to use resize option in TWRP to restore original size after flashing ROMs since they are build for 1G /system partition.
[Nexus 5 Original Android Development] sinkoo1979:
getting a message in twrp "this is not a nexus 5" and won't let me switch back to stock.
[Nexus 5 Original Android Development] Clamor:
[MENTION=7826996]sinkoo1979[/MENTION] send me your partition table in bytes
[Nexus 5 Original Android Development] sinkoo1979:
Data and vendor partitions in my nexus 5 are 0mb and not present. System showing about 1028mb while cache is on 29mb.

Thank you for your help but can't change the cache storage back to stock. Can't access the internal storage in TWRP. I think I corrupted my partitions on the nexus 5. Nexus 5 boots into TWRP but can't access nothing. Tried to flash different rom with OTG but bootloops. Can't flash stock because the cache partition is too small.
[Nexus 5 Original Android Development] Clamor:
[MENTION=7826996]sinkoo1979[/MENTION] just stop. I'd ask you to create a telegram account and PM it to me here. I'll help you, just don't do anything
[Nexus 5 Original Android Development] sinkoo1979:
Thank you for your help
[Nexus 5 Original Android Development] typow102:
This is fixable! I was a noob and didn't resize my system partition after flashing rom. Flashed the hh repartition to go back to stock in the ua twrp and got a bunch of errors. Then flashed stock recovery and tried again. This is not a Nexus 5 popped up. The backup file is inside the flashable zip. I just used adb shell and parted to execute the commands listed in backup and viola my Nexus 5 is back. So those freaking out that they messed up their phone...don't worry it's fixable just listen to Clamor. Anyone can pm me too if you need help.
[Nexus 5 Original Android Development] Clamor:
[MENTION=5580497]typow102[/MENTION] if repartition pack says "It is not Nexus 5" than you shouldn't continue without asking here. Using scripts from pack on them own is dangerous as well. Currently I don't know how many types of MMC installed in our Nexus 5 and "It is not Nexus 5" on repartition or on returning to stock may indicate a new type MMC chip like it was with Nexus 7 (2013)
[Nexus 5 Original Android Development] typow102:
That's the thing though It worked perfectly the first time I flashed it. No errors. Luckily I have had quite a bit of experience with terminal and parted so I felt confident in what I was doing. Can I help you in any way with this? There very well maybe a different mmc chip we don't know about yet.
[Nexus 5 Original Android Development] Clamor:
[MENTION=5580497]typow102[/MENTION] feel free to help if you are certain you can.
[Nexus 5 Original Android Development] Clamor:
For those who downloaded repartition pack before this message is published, please redownload pack since previous version might have a problems with repartition. If repartition was already made, don't worry everything should be fine. Just use up-to-date pack.
[Nexus 5 Original Android Development] bagajohny:
Do I need to resize the partition in twrp every time after flashing any ROM and then flash gapps package?
[Nexus 5 Original Android Development] Clamor:
[MENTION=8317521]bagajohny[/MENTION] yeah, till devs decide to support it officially.
[Nexus 5 Original Android Development] froilson:
When I install the ROM (crDroid 4.6) after change the partitions, when I go to TWRP, Wipe > Advanced Wipe, selecting system and pushing over Repair or Change File System button and then over Resize File System, this message was shown:

Repairing system before resizing.

Repairing system using e2fsck...

Done.

Resizing...

/sbin/resize2fs /dev/block/mmcblk0p25 process ended with ERROR: 1

Unable to resize system.

So no resizing is made.
[Nexus 5 Original Android Development] Clamor:
[MENTION=736532]froilson[/MENTION] resize once more, if fails, change mounting state of system and try once more
[Nexus 5 Original Android Development] M Asad Khilji:
[MENTION=5424240]Clamor[/MENTION] with this can we have treble support ?
[Nexus 5 Original Android Development] sant514:
For sure I would recommend a return to the stock partition, with this recovery version and then you can flash z3DDr3 TWRP 3.3.1-HH.R.4

The zDD3r's TWRP has an advantage, it can make decryption in Android 8, Android 9, Android 10 and it has NTFS support (read and write) in USB OTG.
[Nexus 5 Original Android Development] 2020suite:
Need assistance!

I do hope someone can still help me. I have installed android 10 to my nexus 5 but I can't install the latest gapps (even the pico version) due to lack of space in the partition.
[Nexus 5 Original Android Development] dahawthorne:
Can someone please help this member writing about lack of space in a repartition thread?

Edit: Apparently not...

So, the first and most obvious glaring question - have you repartitioned your Nexus 5?

Edit: After four days, nothing. Yet again. Yet another occasion where I try to help a junior member, to receive only silence. I am disinclined to bother any more.
[Nexus 5 Original Android Development] psihopanda:
Can you please help me? i repartitioned but it broke my partition table i suppose because everything showed 0MB in TWRP and when wiping it said "failed to mount '/everything' (Invalid argument)" when i tried to partition it to stock it spilled out some errors and when i tried again it said "This is not Nexus 5"
[Nexus 5 Original Android Development] rhplusa10:
This is for someone who flash factory image and get stuck.

I did flashing factory image, and I got stuck on the boot.

I could still get into bootloader, so flashed twrp and install other roms but still stuck.

after that, I found this thread and... I found way to recover it.

Have to go through repartition again. this time, it asks revert back to stock.

and then, do it again to modify partition.

after flash twrp, it shows vendor partition error. dont worry. after wipe(format) it, it will be gone.

then, you can install any rom you like, and.. my ancient N5 is back!
[Nexus 5 Original Android Development] MFritzN:
Can not extract updater-script / mount '/vendor

Hello, hope there are still some active members who can help someone like me.

I followed the instruction strictly but when I execute the zip I get the output:

Can not extract updater-script. Do you have it in package?

Updating partition details...

Failed to mount '/vendor' (Invalid argument)

...done

I never reach the "Type something into your terminal part" .

Now I get the mount error every time I try to do something in recovery but that doesn't seem to have any effect I was able to get my system back running by loading a backup. I tried to fix the mount error by "formatting data" and wiping everything. Didn't work.

I am just copying the files from my PC to my phone and execute them with TWRP. So I don't get why a file should be missing. My Google/XDA search wasn't really successful so maybe someone of you encountered similar problems and can help with the mount error or the missing updater-script. Thanks.
[Nexus 5 Original Android Development] dahawthorne:
Thanks, [MENTION=7280276]ipdev[/MENTION]. You're a lot more patient than I am. :)

"Just a suggestion, you could have mentioned 2020suite in your edit just incase he/she gave up on a repose from this thread and wasn't watching it.

No criticism.

As a community (we could do better) should still try to help others."

No offence taken. I didn't mention the questioner because when I ask a question I'm keen to know the answer and do keep an eye open for an answer.

I'm very happy to share what little I know, but there are too many new users who have the millennial attitude of "Give it to me, free, now!" and I find that attitude rather tiresome.
[Nexus 5 Original Android Development] MFritzN:
Everything worked with the official TWRP. I should've read the instruction more carefully. The Script is meant to be installed with the official TWRP...

Thank you wouldn't have found the mistake without you.
[Nexus 5 Original Android Development] blairfancy:
Hi,

I m actualy with twrp 2GO and would like to return to stock. I have tried clamor-repartition procedure but i got error "This is not a Nexus 5"

can someone help me to restore stock partitioning?

regards
[Nexus 5 Original Android Development] krazyko:
No Bluetooth MAC address

Hi. I have made a backup of the persist.img file on my computer but how do I get the Bluetooth MAC address back on my phone? If I go back to the Stock ROM my Bluetooth is fine but once I get to Android 10 I have no

Bluetooth address. I've checked with the developers and maintainers of the Android 10 ROMs and they all say the Bluetooth works fine on their ROMs. Mine keeps crashing. I'm guessing that is because I have no Bluetooth MAC address. Please help.

Thank you.
[Nexus 5 Original Android Development] Clamor:
[MENTION=7133941]krazyko[/MENTION] if you have bt mac in some roms and do not have in other on same partititon layout, than it is rom related problem, not partition.
[Nexus 5 Original Android Development] z3DD3r:
[MENTION=7133941]krazyko[/MENTION],

This is not a problem of repartition. Some roms are generating a random BT MAC address if original is missed or can not be read.

First of all check that file /persist/bluetooth/.bdaddr exists and size of this file is 6 bytes.

Then try to restore valid permissions. U need root and terminal. Switch off bluetooth if u can and type next commands one by one in terminal:

su
chown bluetooth.system /persist/bluetooth
chown bluetooth.system /persist/bluetooth/.bdaddr
chown wifi.system /persist/wifi
chown wifi.system /persist/wifi/.macaddr

After that reboot your phone and check bluetooth once again.
[Nexus 5 Original Android Development] krazyko:
OK. Thank you. I'll continue to try different ROMs then.

---------- Post added at 06:31 PM ---------- Previous post was at 06:09 PM ----------

Hello z3DD3r. My /persist directory is empty. I guess this could be the root of my problem. How do i go about restoring the backup file from my PC?

Thank you.

Edit: Aaargh! I ran the restore command (hung my phone - waited 30 minutes) and now I don't even have a /persist directory. I think my backup didn't work correctly. I guess I'll have to start back at square one. Restore my phone to the original factory image and try again or is there something else I can do?
[Nexus 5 Original Android Development] Robexuk:
Everything went smooth followed instructions, thank you so much!
[Nexus 5 Original Android Development] krazyko:
Hi [MENTION=7268092]z3DD3r[/MENTION],

I set my phone back to stock and then started the whole process over again. When I was back at stock there was no bluetooth or wifi folders. Is there a way to get these files from somewhere or create them when I'm back at stock?
[Nexus 5 Original Android Development] petersaints:
These are the steps to backup /persist just in case, right? How would I restore it later if needed?
[Nexus 5 Original Android Development] ipdev:
Same command.

dd if=A of=B

If A exists B becomes a duplicate of A.

So using the example, to restore it would be.

dd if=/sdcard/persist.img of=/dev/block/mmcblk0p16

Keep in mind there are steps in between.

As noted, you need to copy the image created from the (dump) backup to your computer.

adb pull /sdcard/persist.img for safe keeping.

If you need to restore it later you will most likely have to copy it back to the device.

adb push persist.img /sdcard/

Also it's good practice to name your files clearly.

For example, I use n[Nexus] 5[model] so, mine is named n5-persist.img

Getting slightly OT for this thread but, since backing up critical partition(s) is good practice when (re)partitioning a device.

[GUIDE] Making Dump Files Out of Android Device Partitions xdaThread - Link

Hope it helps.

Cheers all. :cowboy:
[Nexus 5 Original Android Development] m.morcielago:
everybody my system partition size is 1.5G , how can I change it to 2G?
[Nexus 5 Original Android Development] AayushJ25:
Vendor error

I'm getting unable to load/locate /vendor. I guess I did something wrong. How can I fix this? Is this even fixable issue?
[Nexus 5 Original Android Development] Robexuk:
First format data partition you will still get some error just ignore it and wipe all partitions in Advance you should not see any errors, to confirm reboot recovery and check, it should be OK.

---------- Post added at 10:45 PM ---------- Previous post was at 10:41 PM ----------

Just format data partition you will see some error ignore it, now in Advance wipe all partitions it should be without any errors.

---------- Post added at 10:47 PM ---------- Previous post was at 10:45 PM ----------

Just format data partition you will see some error ignore it, now in Advance wipe all partitions it should be without any errors.

---------- Post added at 10:49 PM ---------- Previous post was at 10:47 PM ----------

Sorry for the hick up.
[Nexus 5 Original Android Development] thedeadfish59:
Need help to repartition titan (moto g 2014)

Hi there dev,

I know am in hammerhead forum, but was wondering if I can repartition my titan too, just need some help from you, or any guide/hints would be appreciated, rest of the things I will do, what my basic target is increase system partition by 320mb or more, idc much about data/internal storage

Thanks and sorry for writing in wrong forum :)
[Nexus 5 Original Android Development] freshlysqueezed:
https://xdaforums.com/android/software-hacking/tool-lanchon-repit-data-sparing-t3358036

They can help you.
[Nexus 5 Original Android Development] fisch02:
Hello, as twrp 3.4.0 has been released a few days ago, could you update the custom twrp build ?
[Nexus 5 Original Android Development] mscuttari:
I flashed the hh_clamor_repartition zip but after reboot into recovery I can't mount data and cache partitions. Wipe of the data partition fails with the following log:

E:Could not mount /data and unable to find crypto footer.
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition detials...
E:Unable to mount '/data'
E:Unable to mount '/cache'
...done
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount '/cache'
E:Unable to mount '/cache'
...

And so on and so forth. I had to write it by hand because I can't access to the logs on my pc. I can see the device using adb.

What to do?
[Nexus 5 Original Android Development] Clamor:
[MENTION=5284910]thedeadfish59[/MENTION] pm me on Telegram

[MENTION=7361707]fisch02[/MENTION] yes, next week

[MENTION=3475068]mscuttari[/MENTION] take partited log