yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] vanticar:
modify: not found

Hi,

Wonder if anyone can please help?

upon the installation of TWRP 'hh_clamor_repartition.zip' I have the following screen install log msgs:-

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

updating partition details... done

installing zip file '/usb-otg/hh_clamor_repartition.zip'

checking for digest file...

skipping digest check: no digest file found
​

I then went into terminal as instructed:-

# modify

sh: modify: not found​

So I installed twrp-3.2.3-1_UA-hh.img thinking it may be my TWRP version preventing the repartition working and now get /vender (red) partition error with the same errors mentioned above as before.

Could anyone please help? suggest my next steps ?

thanks in advance

---------- Post added at 07:41 AM ---------- Previous post was at 07:13 AM ----------

I realised my own mistake - copy file from OTG-usb to internal phone storage!

may help others with same problem
[Nexus 5 Original Android Development] high1guy:
Great patch! I haven't had any issues with the install or getting Pie ROMS workings.

I cannot get encryption to work at all though, for anything Nougat, Oreo, or Pie. The device will encrypt properly but upon trying to access TWRP (even if I try a fresh ROM installation with unmodified TWRP) I can't get the pattern, pin, or password to decrypt in TWRP.

Is there a resolution to this? Or at least a work around?

And if not is there any way to revert the repartition to return the device to pre-repartition status so I can get encryption to work again?

Thanks for all the help and support with this mod! Very impressive
[Nexus 5 Original Android Development] mandayugana:
[MENTION=5424240]Clamor[/MENTION], among re-created partitions, crypto partition is extended while other partitions are primary. What is the purpose of making crypto partition extended? Why not primary like other partitions?
[Nexus 5 Original Android Development] aliv:
Worked like a charm for my Nexus 5 32GB.
[Nexus 5 Original Android Development] eBug:
Hi, thanks for the hard work. I'm still getting error 70.

I flashed Lineage 16, then resize.zip but i'm still unable to install opengapps-nano.

I get this log:

25 192937984B 1266679807B 1073741824B ext2 system

26 1266679808B 1298137087B 31457280B crypto

27 1298137088B 2032140287B 734003200B ext4 cache
[Nexus 5 Original Android Development] mobilityguy:
Thank you, Clamor and douguluskaien. Between your sets of instructions I got my Nexus 5 upgraded from RR Oreo to Pie on the first try. Everything I've tested seems to work fine and really smooth, although the phone runs a little hotter than it did under Oreo but it cools off when not used. I haven't tried any phone services (no SIM) or Bluetooth, but everything else is great.

Two questions: will there be a TWRP version that supports an encrypted data partition (very important in the long run), and will the phone support normal charging speed? It always says "charging slowly" and charges at USB speed, even when connected to an AC charger. RR Oreo did the same, but the phone charged normally when I ran Lineage 14.
[Nexus 5 Original Android Development] hammerheadache:
Please don't get me wrong, but these issues are ROM and/or kernel related. Repartitioning the device has nothing to do with them! What Clamor has made is a tool for increasing /system space, nothing more, nothing less (and we are grateful for it!).
[Nexus 5 Original Android Development] mobilityguy:
Yes, I posted those requests in the wrong forum. I did want to thank the folks that did the repartitioning method, it worked great.

I will move my requests to one of the RR Pie forums in the morning. Thanks.
[Nexus 5 Original Android Development] Clamor:
[MENTION=1088465]eBug[/MENTION] you didn't make actual repartition
[Nexus 5 Original Android Development] eBug:
I flashed resize.zip though, several times. Is the zip from the 1st post mandatory?
[Nexus 5 Original Android Development] jollfye:
u should start reading and follow instructions from here + some questions were solved in posts further
[Nexus 5 Original Android Development] PizzaAmerican23:
Am I overthinking this?

My nexus 5 has lineage 14.1 on it. Also running TWRP 3.2.3-0

I want to try the unofficial lineage 16. Do I need to re-partition? what advantages do I gain by doing this if its not necessary?

If it is necessary - and I already have TWRP installed - and there is NOTHING on my phone I want to save (using a different phone right now).

Can I just

1. Backup EFS (is this what contains IMEI and all that?)

2. Do I NEED to backup anything else? Like I said I dont need anything from this phone, but obviously IMEI and BT Mac address are important

3. Flash the repartition.zip from my TWRP

4. How do I flash TWRP after that? Do I need to do this through my laptop? Or will the file still be on my phone?

5. format all, etc, etc, install lineage16 - done

Am I missing something?
[Nexus 5 Original Android Development] mobilityguy:
I suggest you read the complete thread to get the whole story. The short answer is that backing up all partitions before making any changes is always a good idea. I backed up the EFS partition but the IMEI and other identifiers were preserved after the repartition. Repartitioning is necessary only if you want to install some version of GAPPS - Pie will fit in the standard 1G system partition, but there will not be room for even the pico version of OpenGAPPS. With a 1.5G system partition the Nexus 5 is future proofed for a while, at least. If you don't want to sacrifice 500M of user storage, there is an alternative partitioning method described in the thread that takes the additional system space from the cache partition and elsewhere. Again, read the full thread to get all this information and decide how or if you want to modify your phone to use Pie.

The TWRP version you are currently using will not support a nonstandard sized system partition. That is why the modified version of 3.2.3 is needed for the repartitioned phone. Once the repartitioning script is run you will be able to flash the modified 3.2.3-1 UA recovery through fastboot. The script will wipe all data on the phone, so you'll have to move everything back onto the phone after repartitioning and flashing the modified TWRP.

One more time, read the full thread, and follow the instructions of the OP or the step-by-step post on page 12. If you're starting with an unmodified phone the process should work with no complications. I went from stock, to Lineage 14.1, to RR Oreo, to repartitioning and installing RR Pie with Micro-GAPPS. Every upgrade went flawlessly. I hope you the same good fortune with yours.
[Nexus 5 Original Android Development] Clamor:
3.3.1-1 UA TWRP is already available in download section.
[Nexus 5 Original Android Development] mobilityguy:
Found it, thank you. I will flash it, encrypt, and report back.
[Nexus 5 Original Android Development] mobilityguy:
No luck. I installed 3.3.1-1 UA and encrypted the phone. Encryption worked fine, the phone boots into system and everything works, but when I boot into recovery TWRP will not recognize the password. All I can do in TWRP is cancel the password input and see an empty /sdcard folder.

Time to reformat the data partition and restore. I will find out if TWRP backup worked.
[Nexus 5 Original Android Development] Clamor:
[MENTION=2858132]mobilityguy[/MENTION] check if official TWRP works with encryption properly.
[Nexus 5 Original Android Development] mobilityguy:
Thanks , Clamor. I thought the UA version was needed because of the new partition sizes. Will the official version see the data partition?

BTW, the restore worked fine.
[Nexus 5 Original Android Development] mobilityguy:
I re-encyrpted and tried official 3.3.1-0 and 3.2.3-0. I had used 3.2.3 before when the phone was encrypted with RR Oreo. Neither recovery recognized the password.
[Nexus 5 Original Android Development] darren83:
Can someone send me a "crypto.img" partition backup?

I forgot to pull the backup to my laptop When I deleted the sdcard partition:( And my device is 32GB version.
[Nexus 5 Original Android Development] Doodlezoidy:
I get Failed to mount /cache error. Please can you help me out :(

edit: now says failed to mount vendor instead
[Nexus 5 Original Android Development] high1guy:
I'm also having this issue with TWRP decryption. I tried to remove passcode after rebooting yet TWRP still requires a password to unlock.

I wasn't having issues with unmodified TWRP, prior to updating.
[Nexus 5 Original Android Development] Clamor:
[MENTION=2858132]mobilityguy[/MENTION] [MENTION=6766574]high1guy[/MENTION] if encryption is so important to you, there is no problems with using original TWRP it will work just fine, except it won't see /vendor partition and can't interact with it (not a problem since it isn't used anywhere yet).

[MENTION=7444878]Doodlezoidy[/MENTION] if partition doesn't mount, just format it in Advanced wipe menu of installed TWRP

[MENTION=10000213]darren83[/MENTION] it should be intact, of course if you didn't messed with it manually.
[Nexus 5 Original Android Development] darren83:
[MENTION=5424240]Clamor[/MENTION] This script works well. But I do all the work manually, and wiped out sdcard partition before I recreate a new "crypto" partition, so I lost the original crypto backup file...

Could you upload "crypto.img" backup file and share the download link? :)
[Nexus 5 Original Android Development] Linus L:
Well I flashed the zip and ran the modify command, but it seems that it doesn't recreate the partitions correctly. Now I can't mount any partitions of my device

Please help
[Nexus 5 Original Android Development] Clamor:
[MENTION=9841647]Linus L[/MENTION] what you get in TWRP logs?
[Nexus 5 Original Android Development] Linus L:
A huge deal of errors, it's completely unable to load any partitions
[Nexus 5 Original Android Development] Poor Grammar:
Did you try to format data in Twrp
[Nexus 5 Original Android Development] Linus L:
I tried all the partitions,not working
[Nexus 5 Original Android Development] Clamor:
[MENTION=9841647]Linus L[/MENTION] in TWRP go to Wipe, then hit Format data button and type yes. This will remove data mounting errors. Next go to Wipe -> Advanced Wipe, select all check boxes and swype to confirm. This will remove other errors.
[Nexus 5 Original Android Development] Linus L:
I've tried format data, still doesn't work
[Nexus 5 Original Android Development] nickw123:
Hi,

I'm attempting to follow the procedure here (specifically, following the detailed set of instructions in post #119) but I think I must have botched things somehow.

I got as far as repartitoning the device, but have encountered problems at Step 7 after installing the TWRP UA 3.3.1-hh recovery.

The TWRP 3.3.1 recovery installs and loads, but then...

Step 7 reports 'unable to mount' errors with each partition it tries to wipe, e.g.

Failed to mount '/xxxx' (Invalid argument)

Step 8 (Advanced Wipe) does the same.

Furthermore, attempting to mount the device on TWRP fails (tried on Ubuntu laptop plus Windows 7 desktop) - the device is recognised on the PCs but does not come up as a properly-mounted phone, i.e. you cannot copy files to it.

Any ideas on what's gone wrong here? AFAIK I have followed the steps correctly, the only possible difference from a standard procedure was that there was already a TWRP on the device (from a Lineage install) which I used to accomplish steps 3 and 4.

This seems to be a similar problem to Linus above, and I have also followed the instruction to 'Format Data' before 'advanced wipe', no joy.

Thanks,

Nick
[Nexus 5 Original Android Development] nickw123:
Sorry, to update my post, despite the mount errors reported when trying to wipe, installation of the crDroid and gapps ROMs appeared to take place successfully, though after installation the logs did report issues with mounting '/vendor' and '/data'.

Rebooting the phone now gets to a "crDroid" splash screen. *However*, it now seems to be stuck there (has been for 20 minutes) and will not actually boot into the OS.

Any idea how best to proceed from here?

Are the mount errors fatal, does the result I am seeing mean that the issue is with crDroid itself rather than the partitioning process?

Thanks,

Nick
[Nexus 5 Original Android Development] nickw123:
OK - so I went back to the repartitioning step and repartitioned again, and went back through the whole of the procedure of wiping.

This time it only reported that '/vendor' (which doesn't look terribly important) partition could not be mounted. The '/data' partition produced no errors.

Flashed crdroid and gapps, rebooted and... after a slightly unnerving 5 minute wait (but I remember a similar thing occurring with Lineage 14.1) it booted up! :)

So now have the more-than-5-years-old Nexus working with crDroid Pie. Haven't tested full functionality yet, but phone and wifi works, at least.

Many thanks to all on this thread for explaining the process. Wondering if there's a problem doing the repartition with a non-UA version of TWRP, specifically with the '/data' partition, and that you should install UA TWRP before doing anything else?
[Nexus 5 Original Android Development] rammazzoti2000:
Maybe the system partition is read only, under mount untick "Mount system partition read-only "
[Nexus 5 Original Android Development] Linus L:
Nope. All the partitions isn't exist,not only the system partition

---------- Post added at 03:13 PM ---------- Previous post was at 03:11 PM ----------

There's no way to save my device unless I managed to recreate all the partitions
[Nexus 5 Original Android Development] rammazzoti2000:
So you can't even undo the changes from recovery using terminal hh_repart -r ?
[Nexus 5 Original Android Development] Linus L:
Yeah, I've tried many times.
[Nexus 5 Original Android Development] rammazzoti2000:
Maybe you could restore your phone with a factory image through fastboot command and then try and do all over again one thing is I don't know if by doing so will restore the system partition to its default parameters, but think it would, here is a post to do so.

https://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
[Nexus 5 Original Android Development] Clamor:
[MENTION=4789856]rammazzoti2000[/MENTION] you shouldn't give advises if you aren't 100% sure in it. Flashing pure factory image via fastboot will mess up pt, NOT restore it!

[MENTION=9841647]Linus L[/MENTION] send me your partition logs in PM
[Nexus 5 Original Android Development] rammazzoti2000:
Alright I'm sorry for that it's a situation that never happened to me, I thought that would an alternative to his problem, great to see someone qualified willing to help.

Sorry again for the wrong advise.
[Nexus 5 Original Android Development] jwalker9715:
By saying recovery i thought you meant twrp lol. So after unlocking the phone, I screwed up by firstly flashing your twrp (btw i didn't do the normal fastboot reboot after flash was done, disconnected the phone and did it manually). Now on each boot phone restarts to twrp by showing a bunch of red colored messages in twrp indiacating twrp unable to mount /data, /vendor, unable to find crypto, etc which I think normal recovery keeps replacing twrp and twrp can't load completly. So in short at this point, i'm not sure if it's possible to access normal recovery which seems to be important for continiuing my install process.

So far, I read the instructions again and tried this command in fastboot: fastboot flash recovery hh_clamor_repartition

which gives me an "unkown partition" error: "unknown partition 'hh_clamor_repartitioning.zip'

fastboot: error: cannot determine image filename for 'hh_clamor_repartitioning.zip'"

Also, in fastboot mode it show secure boot enabled not sure if that has something to do with this.

by the way, before this i had some confidence now i feel like an extreme novice who can't read lol that said I got bored out of taking a backup, which providing me with a link to original rom and the command line to fastboot would be nice.

also if someone could provide me with recovery.img and fastboot command line it would be awesome.
[Nexus 5 Original Android Development] PhadingFuzzy:
Can't mount storage

After flashing the hh_clamor_repartition.zip, I typed the phrase into terminal. It started to spew errors after a few seconds, telling me that it was unable to repartition. After that, my internal storage partition was stuck at 0 mb.

I have formatted the internal storage, wiped the system, and have attempted fixes like changing the file format and changing it back. Still broken. Any ideas?

---------- Post added at 03:44 AM ---------- Previous post was at 03:30 AM ----------

After a bit of fiddling, I fixed it!

I was unable to see my device using

adb devices

because there technically was no internal storage... so I used ADB Sideload to sideload the repartition.zip and reran it, and this time it worked!
[Nexus 5 Original Android Development] want2play:
[MENTION=5424240]Clamor[/MENTION] Hi, it's possible to resize/increase only /cache partition ?
[Nexus 5 Original Android Development] Clamor:
[MENTION=4629786]want2play[/MENTION] there is no point in doing that
[Nexus 5 Original Android Development] want2play:
[MENTION=5424240]Clamor[/MENTION] but if i want, it's possible with parted or with another utilities ?

Edit: solved that, thanks for the helping ;)
[Nexus 5 Original Android Development] gpavon:
Help please with my Nexus 5

Hi, [MENTION=5424240]Clamor[/MENTION] I have used the zip file and image file to re-partition on my Nexus 5 32GB, however it shows me 12GB of storage and I can't revert to stock. Can you help me please, thank you very much!
[Nexus 5 Original Android Development] Clamor:
[MENTION=8556340]gpavon[/MENTION] post your partition log
[Nexus 5 Original Android Development] Nazzz:
It seems that I forgot to allow system partition modifications before running repartition script, and so after it was done and tried to reboot into recovery (step 5 in the instructions), it failed and then tried rebooting into system, which also failed with a bootloop. And thus I now cannot boot into recovery, every time it fails and then tries to boot into system.

Should I try flashing UA-hh recovery via Odin?

Solved: it wasn't permissions issue, rather I needed to follow detailed instructions in post 119. Maybe copy them to the first page? Because otherwise step 5 doesn't work, one needs to flash recovery via fastboot.
[Nexus 5 Original Android Development] thogz11:
I think it went well on my phone. Here's how I do it: Follow OPs Repartition Steps => Flash UA Pie ROM => Resize zip => OpenGapps Mini (I modified it) => Magisk 19.3 => Reboot. :D

At first, I was really scared because of OP mentioned some "different memory chip." Thank you so much Clamor

EDIT: I tried to install Opengapps Full on Lineage 14.1, it won't install all the apps, some random Google Apps are missing e.g. Messenger, Youtube, sometimes Maps, etc. I think it still limits to 1GB System. Not complaining, just a feedback. :D

EDIT 2: I'm not a dev. maybe I'm wrong but I have a theory, I think there's something in Cache Partition that I don't know and only Google knows? I've read it's for system updates like it optimizes after update and other system cache stuff. The device is faster when on stock partition (700MB Cache), faster recovery flashing, booting, etc.
[Nexus 5 Original Android Development] Fr_KAAR_:
Something went wrong ... But what?

[MENTION=4721867]claymor[/MENTION], Hey, I have a nexus 5 16Go, and try to install gapps on lineageOS i said that i was missing space.

So i followed the tutorial here to expend the system partition.

Once done, i reinstall lineageos and gapps, all was fine, and after the rebook i could see the google apps.

Perfect!

Anyway after a moment i notice that my storage capacity is incorrect, it says that i have 32Go memory ... (Don't know how to attach a picture :-/)

I also noticed that i cant plug it to my PC, the phone is detected anymore!

It's sound like i have the same kind of issue as one of the first comment ...

Any idea to help?

Thx.

Edit : ok was able to manage the 32/16Go issue by renaming the files.

But still unable to connect the phone to the PC, it's just like the phone is not plugged :-/
[Nexus 5 Original Android Development] Fr_KAAR_:
Ok, all is fine now, just an issue with ROM configuration :p
[Nexus 5 Original Android Development] bborba59:
Still small root partition to fit Mind APPS flush

Hi,

Sorry to bug. I have tried many times:

- successfully follow steps to repartition Nexus 5 16gb

- installed android 9

- push mind apps

- flush and got not enough space

What should I see with df -k after all done and before flushing mind apps?

This is what I see:

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 949772 28 949744 0% /dev

tmpfs 949772 24 949748 0% /tmp

/dev/block/mmcblk0p28

13162172 745688 12416484 6% /data

/dev/block/mmcblk0p28

13162172 745688 12416484 6% /sdcard

/dev/block/mmcblk0p27

706392 12948 693444 2% /cache

Ps: i tried sudo / su as they don't exist and not able to install them

============================================
[Nexus 5 Original Android Development] hammerheadache:
Question for Android 10

Hi, I'm currently running Android 9 my device and I'm thinking of jumping to Android 10. I've been using this recovery since I flashed an Android 9 ROM for the first time without any issues. So before starting the wiping and flashing of Android 10, I'd like to ask if this recovery works fine with Android 10, or has it become outdated? Also, If I want to switch to z3DD3r's TWRP HH, do I have to return the device to the stock partition size first, or is it okay to flash it over this recovery? Thanks!
[Honor 8 Themes, Apps, and Mods] grizzlyspid86:
Hello,

Just sharing my customized theme of Sony Xperia XZ3/XZ2 Premium as i'm always a big Sony lover and i love their UI and launcher.

Link - https://xdaforums.com/honor-8-pro/themes/theme-sony-xperia-xz2-premium-emui-8-0-t3827431
[Galaxy S6 Edge Q&A, Help & Troubleshooting] ANeation:
hello, as you can tell from the title i have installed LOS 14.1 (downloaded from the official site) even with fresh clean install. i keep having problems with my audio with bluetooth. i have searched everywhere but no solution
[Xiaomi Mi Mix 2S Questions & Answers] unster:
Hi guys,

do you have an idea why NFC toggle is still not supported in quick toggle bar? This is crazy IMHO.

Any idea how to add this setting there?
[Xiaomi Mi Mix 2S Questions & Answers] plakonn:
try this app https://play.google.com/store/apps/details?id=it.simonesestito.ntiles
[Xiaomi Mi Mix 2S Questions & Answers] pi4a7a:
NFC toggle is in 8.11.21+ miui dev roms.
[Android Q&A, Help & Troubleshooting] mgdark:
I can't find a custom ROM made for that specific device probably because it wasn't that popular. It its a mediate device (mt6572 iirc) so I can install a suitable version of cynogenmod/lineageos/other kind? If so which version I should use? I only know how to install the stock ROM with flash tools.

Thanks and I hope a positive answer:D
[General Topics] division36:
Hi,

Does anybody know where I can get my hands on an Elfin in The Netherlands.

I cant seem to find any of the shops selling it!

Thanks!
[Android Q&A, Help & Troubleshooting] lymbra:
Hey guys,

I just updated my Redmi Note 4 Global from Android 7 to Android Pie (ArrowOS) and have the following issue:

Before, when I connected my bluetooth headset, I was able to receive all sounds (notifications/ringtones) through my headset using SoundAbout. (It switched to "normal" sound mode when BT headset was connected but bypasses all sounds to my headset only)

So no sounds went through phones speaker. And thats what I wanna have, when bluethooth headset is connected, all sounds should only be hearable through it.

Now, soundAbout doesn't work anymore (crashes on start - other ppl reporting same on Android 8)

Therefore, does anyone of you know a proper alternative app or work-a-round to solve my issue?

Many many thanks!
[Huawei P20 Pro Guides, News, & Discussion] KKYASIR:
Dear

i want to downgrade my P20 Pro from CLT-L29 8.1.0.152 to CLT-L29 8.1.0.108 , is it possible and what will be the procedure ?