yashsingh1/xdaforums huggingface dataset:
[Android One (First-Generation) Cross-Device Genera] out386:
(1) You didn't need the Android SDK. The ADB link I'd given in the thread would've been enough.

(2) I see that you have the stock recovery. That's why it sais that no emulators thing. You need a custom recovery for this.

(3) You're using some kind of Chinese phone. I don't know of any custom recovery for that phone. Search around, you just might find one. Also try Yuweng's recovery thread. If it's an older MediaTek, that tool should work.

Once you have a custom recovery, follow this thread, but don't use any of the numerical values for the partition sizes/ offsets I used here, your values will be different.

(4) This method could be risky. Make sure that you can recover your phone somehow if it goes wrong. The 1st gen Android One devices I wrote this for can recover, but I don't know about your phone.
[Android One (First-Generation) Cross-Device Genera] out386:
(1) Yeah, you can make system larger. But after you flash a ROM, it'll get smaller again. Go to TWRP - > Wipe - > Advanced. Select /system, and tap "resize". That'll make the partition large again.

(2) Yeah, you can use sdcard as internal on Marshmallow after making /system larger

(3) I'm not sure. You can store pictures, etc, but I think that I heard that changing roms sometimes makes that data unreadable or something - I never tried.

(4) If you can get a recovery and a kernel that supports F2FS, then yes. I think that all kernels and most TWRP build support it.
[Android One (First-Generation) Cross-Device Genera] harsh.:
What if I flash sprout8 built!??

With that I can store photos, and media in internal memory as well!

And for 1st ans, I again have an question!

If we can change size of system partition from twrp only then why should we use such a long process :rolleyes::confused:
[Android One (First-Generation) Cross-Device Genera] out386:
You can't change from TWRP unless you've already done this.

Sent from an Ewwphoria using Tatapalk
[Android One (First-Generation) Cross-Device Genera] harsh.:
:pooooki:D

In India Its 12:22am now! And its new year for us! Let's try something new!:fingers-crossed: :o :)
[Android One (First-Generation) Cross-Device Genera] Holographic:
Warning! Warning! Warning!

I fried two brand new 64 Gig Kingston sd cards.

I purchased a brand new Kingston 64 gig class 10 sd card and gave this procedure a shot. It work great at first. I followed the instructions and they were flawless. My fist install was on Android 6.

The phone worked as expected for about 24 hours and the the phone reported there was no SD card installed. I took the card out and could not get it to be recognized on any computer, Window, Linux or Android.

I took the SD card back to the computer store and they were kind enough to replace it after it was tested and confirmed failed.

My Galaxy S5 was now in limbo after loosing all the data stored on the internal memory section of the failed SD card. I thought great time to upgrade so I installed Android 7 and proceeded with the new SD card ( also Kingston 64 gig ).

I followed all the steps again to set up this procedure and again it was flawless. I thought to myself I just had bad luck with the other SD card.

30 Hours later!!! Android 7 was now reporting that there was no SD card installed. You got to be kidding me right!

Went through the procedure of checking the SD card with Gparted and other partition software. No system could even see the SD card. It was like it was not even there. Same as the last card.

I got the card replaced and reload my Galaxy S5 one more time. This time however I was not willing to try this procedure and just used the card as external storage.

About three weeks have passed now since the two Kingston card were corrupted and I install the third one as external storage only. I am happy to report that the third Kingston 64 gig card is doing well.

I am not saying this method does not work I am just sharing my experience of what happened when I used it.

As the Quote says:

Phone: Galaxy S5

Update Friday, June 8 2018

I am still using the same Galaxy S5 phone and SD card. By not partitioning my 64 gig sd card it has not fail again. Strange that the partitioning failed on this phone in the way I mentioned above. Just wanted to give an update an let you all know the results.
[Android One (First-Generation) Cross-Device Genera] VstrawbZ:
Can I rename /system2 to /system partition with this method?

I tried to dual boot my phone and now I have my system as named /system2.

I want to rename it back. I tried rename it using twrp recovery file manager but each time on boot it renames back to system2.

I can't flash any rom as any recovery is unable to mount /system.

Please, can I rename it using these steps. If there is any other way please guide.

Sorry for bad english.
[Android One (First-Generation) Cross-Device Genera] :
Can I have some help here:

1. I have the ADB Drivers installed, I even installed the Android SDK just to use ADB Commands. I installed TWRP Materialized but the problem is that my PC doesn't detect my device when I boot it into recovery.

2. I tried other recovery (TWRP 3.0.x.0) and my PC detected it flawlessly. I checked my device using adb devices and it was there. But when I enter the command through adb shell and then parted /dev/block/mmcblk0, it displays /system/bin/sh: parted: not found

I am trying to repartition my /system so that I can install either the Full or Mini GApps package for CM14 Unofficial.
[Android One (First-Generation) Cross-Device Genera] out386:
If you can't use the TWRP I mentioned, then you'll need a parted binary. Boot the twrp image I mentioned, and copy /sbin/parted. Boot to twrp 3.x, paste that binary to /sbin, and over adb, do:

"chmod +x /sbin/parted".

Then do the rest of the guide. I don't exactly remember, but if that binary is static, this will work.

As for increasing the size of the system partition for gapps, there is plenty of space in system already for most gapps. After flashing a ROM, go to:

TWRP - Wipe - Advanced - Select System - Resize

That should give enough space. If not, flash some minimal gapps, and download the missing apps from Play. Better avoid this long method if you just need gapps.
[Android One (First-Generation) Cross-Device Genera] out386:
Whoa. Sorry to hear that. That's something that shouldn't happen, but Samsung, you know. All kinds of things can explode. :)
[Android One (First-Generation) Cross-Device Genera] out386:
I have no idea how it could possibly have happened. No, I don't know if this will help you.
[Android One (First-Generation) Cross-Device Genera] :
Thanks for the feedback. And yeah, I just need the GApps (I've literally tried everything from aroma to nano and it still gives me error 7). But I'll try it next time around. Just found out that the Unofficial CM14 is laggy af.
[Android One (First-Generation) Cross-Device Genera] LehKeda:
[MENTION=6015092]out386[/MENTION] hey ,

I want to repartition my phone (it's samsung galaxy star ) ... i want to repartition it to increase kernel and recovery partitions size but the problem there's not any partition to take space from it ... here's the problem

I don't know why they partition it that way ... anyway I do wonder if i can rearrange partitions order (make boot , recovery and data partition next to each other ) and what would happen if I merged boot and recovery together ? also where is the boot loader partition ?

Thanks in advance ....
[Android One (First-Generation) Cross-Device Genera] :
I've repartitioned my device succesfully. Flashing ROMs right now.
[Android One (First-Generation) Cross-Device Genera] rachit011:
How can I repartition /system?
[Android One (First-Generation) Cross-Device Genera] out386:
Same way as for other partitions. But don't go below 890 mb, or ROMs won't flash.

Id originally intended to write a way to flash light ROMs after reducing system to below 890mb but that process was too long, so didn't write it.
[Android One (First-Generation) Cross-Device Genera] harsh.:
[MENTION=6015092]out386[/MENTION]

I'm too lazy to all this things. any tym we will get flashable zip? I mean is it possible?

:p
[Android One (First-Generation) Cross-Device Genera] out386:
It's possible. But it'll be riskier than doing it manually, given my limited shell knowledge. But I don't really have enough time to make a zip, so, no. I'll probably not make something to automate it.
[Android One (First-Generation) Cross-Device Genera] harsh.:
Well thanks for script and method.:o appreciate it
[Android One (First-Generation) Cross-Device Genera] harsh.:
[MENTION=6015092]out386[/MENTION]

Can i use twrp by swapnil sonalki or by 1cefire??? Cz the twrp suggested by u is not working for me!
[Android One (First-Generation) Cross-Device Genera] saa1618:
Hello Devs,

I have a question about the repartition - does it work with stock google factory image? I'm using Nougat on my Nexus 6 (shamu). Appreciate it if anyone could provide an insight before I try it on my phone. Have a great new year!

Love,

Syed
[Android One (First-Generation) Cross-Device Genera] harsh.:
[MENTION=6015092]out386[/MENTION]

I finally managed to do repartition but by using 2.8.7.0 by 1cefire. I hope you will add this recovery to suggestions. Ty for method

:)
[Android One (First-Generation) Cross-Device Genera] damon12:
hi genius

I am thinking to re-partition my s5830, which use BML instead of MTD driver. I tried parted and fdisk but they cannot recognize the file system. Any genius successfully re-partitioned BML/STL partition?

GNU Parted 1.8.8.1.179-aef3
Using /dev/block/bml0!c
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/bml0!c: unrecognised disk label

root@android:/data # fdisk -l /dev/block/bml0!c

Disk /dev/block/bml0!c: 525 MB, 525336576 bytes
255 heads, 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/block/bml0!c doesn't contain a valid partition table

/proc/partitions

major minor #blocks name
137 0 513024 bml0/c
137 1 1536 bml1
137 2 512 bml2
137 3 768 bml3
137 4 25600 bml4
137 5 9216 bml5
137 6 5120 bml6
137 7 2048 bml7
137 8 8192 bml8
137 9 8192 bml9
137 10 768 bml10
137 11 6144 bml11
137 12 222464 bml12
137 13 192768 bml13
137 14 29696 bml14
138 12 214784 stl12
138 13 185600 stl13
138 14 25856 stl14
179 0 1955840 mmcblk0
179 1 706795 mmcblk0p1
179 2 979965 mmcblk0p2
179 3 265072 mmcblk0p3
[Android One (First-Generation) Cross-Device Genera] harsh.gautam:
Do you still own Android One Device???

I Deletd expdb partition without taking backup:p
[Android One (First-Generation) Cross-Device Genera] Akram Sniper:
parted issue

hi nice tuto i want to decrease the size of user internal storage and increase apps internal storage but i have an issue with parted it won't delete partitions (when i write rm 22 and hit enter no thing happened no error message and the partition still there same with resize command )when changing sizes of partitions can i use my current ROM just wipe data and cache
[Android One (First-Generation) Cross-Device Genera] theintel:
Personally, this tutorial taught me so many about partitioning an android in practical.

Maybe you can do it for learning purposes if its not the space that you need.
[Android One (First-Generation) Cross-Device Genera] Kaiyum:
Hey,i've been having trouble with my j3xnlte, rm does not seem to work and resize (as a 2nd choice to set "end" for partitions) gives me an error on having ext4 which is not yet compatible?
[Android One (First-Generation) Cross-Device Genera] kushal_w8:
To install more apps, should I increase user data partition space? And which partition should i decrease for the internal memory (i am using sd card so).
[Android One (First-Generation) Cross-Device Genera] out386:
Both the internal SD card and apps are put in userdata on most phones. For more apps, increase the userdata partition. You don't have to decrease the internal sdcard size, as that is just shared space.
[Android One (First-Generation) Cross-Device Genera] Mian123456789:
(parted) rm 12

rm 12

Error: input/output error during read on /dev/block/mmcblk0

retry/ignore/cancel
[Android One (First-Generation) Cross-Device Genera] harsh.:
/sbin/resize2fs /dev/block/mmcblk0p14 process ended wuth ERROR :1

unable to resize system.

I'm getting this error while trying to resize it in recovery.. i have changed size many time using this method but this is the first time something like this is happening.

What should i do?
[Android One (First-Generation) Cross-Device Genera] camaro14:
Hi,

I don't if its the right thread but I'm hoping to hear out of your expertise. I used Roehsoft Ram Expander app to increase my device RAM (xiaomi redmi note 4 'nikel / mtk ' ) but instead of using SD card, I created swap file on my internal storage which is according to some sources, not the right thing to do since it may degrade the internal storage. I quit using the app and tried to use the in-app "delete old swapfile" option but the created partition on my internal storage didn't reset. Is there's an easy way to bring back the created partition (swap file) to a usable internal storage since I'm not comfortable doing it on CLI. I've tried to google it but no luck :(

Thank you in advance!
[Android One (First-Generation) Cross-Device Genera] thelazyindian:
Nois
[Android One (First-Generation) Cross-Device Genera] Abhijeet Rajgor:
Command not working

Commands don't work from TWRP

How to do that ?

Only reboot and backup etc works

Btw land user (redmi 3s Prime)

---------- Post added at 09:41 PM ---------- Previous post was at 09:35 PM ----------

Commands don't work from TWRP

How to do that ?

Only reboot and backup etc works

Btw land user (redmi 3s Prime)
[Android One (First-Generation) Cross-Device Genera] chankruze:
Huge Thanks !

EAST TO WEST [MENTION=6015092]out386[/MENTION] is best.I am Impressed Bro....

I gain some real knowledge & hack.Will try it tonight.;)
[Android One (First-Generation) Cross-Device Genera] chankruze:
I tried but encounters this error.

sush: parted: not found

Edit: I got it , coz i don't have parted binaries in my device.

By the way it will be installed till tomorrow.:fingers-crossed:
[Android One (First-Generation) Cross-Device Genera] pipyakas:
[MENTION=6015092]out386[/MENTION] are you sure about /cache only need 5mb to work in most devices? Since that's only apply to ext4, on f2fs /cache would be occupied for around 100mb or more
[Android One (First-Generation) Cross-Device Genera] out386:
I didn't say, "Most devices." I'd only ever tried this on the sprout, so I can't really say what other devices need. Reduce the size, if it doesn't boot, increase it.
[Android One (First-Generation) Cross-Device Genera] NocDev:
My free space is not combining :(
[Android One (First-Generation) Cross-Device Genera] out386:
Not combining, meaning? Give partition layout and tell errors, if any.
[Android One (First-Generation) Cross-Device Genera] Swapnil Soni:
Can we try on normal android(non-android one) devices..

like partitioning internal storage for a new partition ..
[Android One (First-Generation) Cross-Device Genera] out386:
I assume you're talking about /vendor and santoni? I don't know, I might try on mine, though.
[Android One (First-Generation) Cross-Device Genera] Swapnil Soni:
Sure, I was thinking to resize over my nexus 4.. seems this device doesnt have some extra unused partitions like cust as present in xiaomi, so if we can provide /vendor partition to nexus devices then it would be cool :)
[Android One (First-Generation) Cross-Device Genera] AitoXD:
ERROR, Help me

The result is "/sbin/sh: parted: not found":(
[Android One (First-Generation) Cross-Device Genera] thelazyindian:
nais
[Android One (First-Generation) Cross-Device Genera] jututt:
you have to download parted

adb remount,

adb push parted /sbin

give it execution permission with chmod

read all here https://iwf1.com/how-to-re-partition-your-android-tablet-or-smartphone-all-options-included-change-size-fs-type-etc/2

---------- Post added at 07:04 PM ---------- Previous post was at 07:01 PM ----------

I freed up some 700 mb of space, reducing /cache partition, resizing others, and deleting tombstones and spare.

Now I have this free space before userdata partition.

I read that I can lose data if extend userdata partition to a previous sector.

Can I create a new partition to store data (pictures, videos...) in those 700 mb?
[Android One (First-Generation) Cross-Device Genera] MR207:
Parted /dev/block/mmcblk0

Parted not found

Can someone help me?
[Android One (First-Generation) Cross-Device Genera] mirfatif:
Just read the message before yours. "parted" is a binary to manipulate partitions, so it doesn't have any reason for its existence on stock Android devices. You need to get that for your device, may download from OP of this thread: https://xdaforums.com/android/help/how-to-boot-sd-card-qmobile-z8-bricked-t3712171
[Android One (First-Generation) Cross-Device Genera] MR207:
I do it and it works thanks. But now i have an other problem... If i answer fix or ignore, nothing changes, it ask me "partition number?" and nothing is happening... The problem remain.
[Android One (First-Generation) Cross-Device Genera] MR207:
I have a samsung galaxy j3 2016 (J320FN)
[Android One (First-Generation) Cross-Device Genera] mirfatif:
May be there's something bad with your partition table. Try using "gdisk". Be careful, device hard-brick is very likely.
[Android One (First-Generation) Cross-Device Genera] MR207:
Fdisk
[Android One (First-Generation) Cross-Device Genera] MR207:
Thanks works
[Android One (First-Generation) Cross-Device Genera] MR207:
Why when i exit from gdisk it dosn't save the canges? I use "w" to exit.

before leaving I launched "print" command and the changes had been made, but then when I installed the rom and reboot device the partitions remained the same
[Android One (First-Generation) Cross-Device Genera] MR207:
Gdisk don't work... It don't save de partition, it do nothinghs.
[Android One (First-Generation) Cross-Device Genera] MR207:
GPT fdisk (gdisk) version 1.0.3

Caution: invalid backup GPT header, but valid main header; regenerating backup header from main header.

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: damaged

**************************************************************************** Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk verification and recovery are STRONGLY recommended. ****************************************************************************

Help?
[Android One (First-Generation) Cross-Device Genera] beckno:
After "print" command, shell returns: "Error: Can't have a partition outside the disk!"

Recovery with parted binary in sbin. Somenthing can be done?
[Android One (First-Generation) Cross-Device Genera] @atik123:
Pls make a tutorial video for this method.
[Android One (First-Generation) Cross-Device Genera] mirfatif:
Partitioning tools "parted", "fdisk", "gdisk" etc. are used alike on all Linux systems. You can find hundreds of tutorials online. There's nothing specific about partitioning on Android device, except that you should never erase whole partition table. Better make yourself aware of what and why you are doing, instead of blindly following video tutorials and bricking your device.
[Android One (First-Generation) Cross-Device Genera] @atik123:
I do not have any knowledge about partition fdisk gdisk etc.but i can perform all the action by watching the tutorial video
[Android One (First-Generation) Cross-Device Genera] mirfatif:
https://wiki.archlinux.org/index.php/Partitioning
[Android One (First-Generation) Cross-Device Genera] pocketrule:
parted rm does not work for me. If cache partition is mounted, I get a corresponding error message. But after unmounting or trying to delete other partitions the rm command is finished without error, but the partitions still exist. Does anyone know how I can proceed? Device is Samsung Galaxy S4 GT-I9505; TWRP 3.5.2_9.1.

Spoiler content hidden.
[Android One (First-Generation) Cross-Device Genera] fabiansgz:
Error: Could not stat device /dev/block/mmcblk0 - No such file or directory.
[HTC Typhoon] iamwin:
my camera is not working after upgrading to wm6!!!! please help. it says:

Unable to invoke Album. please make sure.......

what shall i do?
[HTC Typhoon] iamwin:
it's ok now, i've learned from the other thread that i should uncheck the review image after capture. thanks!
[HTC Typhoon] karhoe:
Unless you install HT IA Album
[HTC Typhoon] botuser:
Who has a cab fir the IA Album?
[HTC Typhoon] karhoe:
It's in the old Extras folder

http://rapidshare.com/files/54048782/Extra-20070906.zip
[Nexus 6P Q&A, Help & Troubleshooting] akshaysalunke13:
Ever since I unlocked and rooted my phone and changed to ElementalX kernel my phone is facing this weird Android OS keep awake issue. I thought it was the kernel issue so I have tried various ROMS(stock, pure nexus, cyanogenmod) all with their own respective kernels but the problem still persists after various clean wipes. I tried googling the wakelock but found nothing.

My Wifi and Bluetooth are always off and I've turned off Wifi and Bluetooth scanning too. Location is on battery saving and I am currently on cm13.
[Nexus 6P Q&A, Help & Troubleshooting] Stretlow:
I think its 6.0.1 related, I'm seeing the same issues.

Im no expert but it think its radio related, I'm getting a worse signal since the update at work (where I spend most of my time) I think these wakelocks are trying to use the radio / network.

I'm considering using the 6.0.0 radio but im not sure if it will work on 6.0.1
[Nexus 6P Q&A, Help & Troubleshooting] akshaysalunke13:
Did you try troubleshooting the drain with some app( BBS,GSAM,etc) ? Can you post the results?

I think [MENTION=4153349]Heisenberg[/MENTION] can tell whether flashing the 6.0.0 radios on 6.0.1 will work.
[Nexus 6P Q&A, Help & Troubleshooting] akshaysalunke13:
Nobody to help here?
[Nexus 6P Q&A, Help & Troubleshooting] akshaysalunke13:
Please ! Somebody?
[Micromax Canvas A1] Varinder Khehra:
I am using this phone from a year now, its performance is nice but since android marshmallow update I have experienced few lags 3-4 times. So should I root it??? And should I receive updates after rooting??? If I root it, is there any need of custom ROM and if yes , which one????
[Micromax Canvas A1] dsbhai:
If u want to modify ur phone then root it after rooting u will not get ota frm google there are many custom rom available here.......
[Micromax Canvas A1] Varinder Khehra:
Can you suggest me best custom ROM???
[Micromax Canvas A1] nageen9211:
Hey dude ..I also tried to root may canvas a1 by Android one tool kit but it got stucked while booting... So I have to reflash the official ota to use my phone again. Please help n please tell me that how to root marshmallow version

Thanks in advance
[Micromax Canvas A1] dsbhai:
Try cynogen mod 13 rom paranoid or wormhole these are best roms for a1

---------- Post added at 06:33 AM ---------- Previous post was at 06:28 AM ----------

Download the marshmallow rooting zip from xda then flash through sp flash tools or recovery
[Micromax Canvas A1] rajacse525:
Rooting doubts.....

:confused::confused:

i have micromax android one...

i want to install latest released version of cm13 available in cm site.

now i want to root. Which one i should use for rooting

1. cm installer-- does this give me root accesss and to get back into stock rom when i needed? Does it support all root apps?

2. SuperSU v2.67

3. ALL-IN-ONE TOOL

and please provide me the process or link to get back to stock rom

please provide me gapps for my android6.0.1
[Micromax Canvas A1] deep_gandhi:
How to flash? cause I don't have custom recovery
[Micromax Canvas A1] dsbhai:
Use android one toolkit
[Micromax Canvas A1] itsovi:
Bro just go back to stock kitkat, believe me its the only os that will not disappoint you from any way
[Micromax Canvas A1] Rexspidy:
Just download SuperSU zip file for Marshmallow from XDa,Unlock bootloader and flash that zip from your preferred recovery.
[Micromax Canvas A1] Helll7:
Yepppi!! Go for custom ROM there alots of rom for a1