yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] semson:
Is there anyway to modify the file for use with 32GB? The extra 1.9GB is very nice to have:laugh:
[Galaxy Note II N7105 Android Development] jayjay1234:
Anyone having trouble restoring backup with TWRP on ASOP partition mod?
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Sure i will make it. You should give me your partition table.

What trouble are you having exactly?
[Galaxy Note II N7105 Android Development] semson:
Pleasure to send the partition table. Just entered "Terminal" and found no "parted" command. How can I show the partition table like others did?
[Galaxy Note II N7105 Android Development] scariola:
I did it with instructions here. http://xdaforums.com/showthread.php?p=53053335

Just check all permissions for parted using a root explorer and place then run terminal.
[Galaxy Note II N7105 Android Development] smeet.somaiya:
[MENTION=4418510]semson[/MENTION] Follow that guide on the given link and you will be able to get the partition table.
[Galaxy Note II N7105 Android Development] semson:
Model: MMC MBG8FB (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 4194kB 8389kB 4194kB BOTA0
2 8389kB 12.6MB 4194kB BOTA1
3 12.6MB 33.6MB 21.0MB ext4 EFS
4 33.6MB 37.7MB 4194kB m9kefs1
5 37.7MB 41.9MB 4194kB m9kefs2
6 41.9MB 46.1MB 4194kB m9kefs3
7 46.1MB 54.5MB 8389kB PARAM
8 54.5MB 62.9MB 8389kB BOOT
9 62.9MB 71.3MB 8389kB RECOVERY
10 71.3MB 164MB 92.3MB fat16 RADIO
11 164MB 432MB 268MB ext4 TOMBSTONES
12 432MB 1774MB 1342MB ext4 CACHE
13 1774MB 4291MB 2517MB ext4 SYSTEM
14 4291MB 4878MB 587MB ext4 HIDDEN
15 4878MB 4886MB 8389kB OTA
16 4886MB 31.3GB 26.4GB ext4 USERDATA

(parted)
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Give me sometime. I will give you the flashable script for the 32gb version
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Your /system size is 2.5GB? How much of that is used max? Should I slim it down or not?
[Galaxy Note II N7105 Android Development] KNIGHT97:
I would advice that you let it be as it is. After all not everyone is familiar with updated script edify and debloating before the flash.

Sent from my RPG with auto targeting
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Okay. So I will leave that untouched.
[Galaxy Note II N7105 Android Development] semson:
Yes I prefer leaving it as is. below is "df" output, better to allow some room there.

Filesystem Size Used Free Blksize
/system 2.3G 1.9G 395.6M 4.0K
/efs 19.7M 4.4M 15.3M 4.0K
/cache 1.2G 21.9M 1.2G 4.0K
/preload 551.2M 9.2M 542.0M 4.0K
/data 24.2G 18.5G 5.7G 4.0K
/tombstones 252.0M 18.2M 233.8M 4.0K
/firmware 199.8M 46.3M 153.5M 4.0K
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Will do it for the 32GB version on Wednesday. Sorry for the delay, been busy with exams.
[Galaxy Note II N7105 Android Development] semson:
take your time! it's not urgent

I need to try it in a really free weekend too since I use the phone daily.
[Galaxy Note II N7105 Android Development] youngstacks74:
When i try yo flash back to stock partitions I lose my Imei and baseband and can't get service... Flash back to extra space and everything works normal.... Only thing I can't get f2fs fully working with the extra space partition... On a 16gig tmobile note 2..... With Omnirom
[Galaxy Note II N7105 Android Development] (InsertNameHere):
Can you make a script that is compatible with F2FS? Because I think F2FS makes more use of the /cache partition, and I have yet to find a way to format the /cache partition to F2FS.
[Galaxy Note II N7105 Android Development] jayjay1234:
+1
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Did you use the stock pit file and flashed stock rom via Odin while reverting to original partition size?

I think I had given a flashable zip for reverting to original partition, just in case if you are using my zip then please try with pit file.

And about the f2fs, I will have a look at the script and see what changes it needs. Hopefully I will do it soon. :)
[Galaxy Note II N7105 Android Development] smeet.somaiya:
I have never been able to format /cache to f2fs. But I only formatted /system and /data(including int sdcard) to f2fs and it worked.

I will do these changes in my script too.
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Here it is.. Reparation script for 32GB N7105

https://www.dropbox.com/s/quawpgtvz28dyhb/Repartition_N7105_32GB.zip?dl=0

Try it and let me know. And please make sure you have the stock pit file handy just in case you need it.

P.S Note that I have left /preload untouched unlike the 16GB version script where I have reduced the /preload size too.
[Galaxy Note II N7105 Android Development] semson:
sorry for late. the phone is not with me atm. I don't have the stock pit, can't find it online. do you think efs professional is reliable to create a backup of pit?
[Galaxy Note II N7105 Android Development] smeet.somaiya:
No idea where you will get the 32GB pit file. As I don't own an N7105.

And by the way pit cannot be backed up with efs professional
[Galaxy Note II N7105 Android Development] semson:
Ok. In this case I would better find another 32GB device with available pit to test the script first. Mine is E250, there's no way I can find the pit, so a failure could really bring it to an end of life!

I have had a look at the script and found below lines which seems most significant. If I want to have 200MB for /cache, do I modify the first partition to 432-636 and adjust fellow partitions accordingly? I have no experience in creating flashable script...

parted /dev/block/mmcblk0 mkpart primary 432MB 534MB
parted /dev/block/mmcblk0 mkpart primary 534MB 3051MB
parted /dev/block/mmcblk0 mkpart primary 3051MB 3638MB
parted /dev/block/mmcblk0 mkpart primary 3638MB 3646MB
parted /dev/block/mmcblk0 mkpart primary 3646MB 31.3GB

---------- Post added at 08:17 AM ---------- Previous post was at 08:13 AM ----------

The reason I want to have 200MB cache is I plan to give f2fs a try in the near future. f2fs creates more cache files afaik.
[Galaxy Note II N7105 Android Development] smeet.somaiya:
Yes you can edit the script in the way you mentioned.

And regarding the 200mb cache, my cachr partition is 102mb and still I have used f2fs for a few weeks without any issues. Rest is your choice :)
[Galaxy Note II N7105 Android Development] (InsertNameHere):
Do you mean f2fs on the cache partition?
[Galaxy Note II N7105 Android Development] semson:
Very helpful
[Galaxy Note II N7105 Android Development] Juzm:
I thought this was going to go smoothly, lol.

can't mount /data when trying to restore Phil's recovery nandroid.

Tried a hundred things tonight including the method in Senyaka's post.

Flashed the original PIT back and then the stock 4.4.2 ROM I was running now I'm stuck in a bootloop.

4 and a half years rooting and stuffing about with phones and it looks like I've finally bricked one.

Any suggestions on fixing this would be greatly appreciated.

Cheers.
[Galaxy Note II N7105 Android Development] 3to4:
I just wanted to report that this worked without any issue for my N7105.

I followed the procedure explained in OP. (In my case, the internal SD is called sdcard.) Then, I wiped all partitions except external SD, and restored nandroid backup from the external SD.

The total space in internal SD passed from 10.12GB to 11.87GB. Thank you very much.
[Galaxy Note II N7105 Android Development] jayjay1234:
After Odin flashing back to stock you'll need to go in to

stock

recovery by

Pushing up+home+power at the same time.

When you're in recovery wipe date and cache.

Reboot then you should be fine.

This should happen automatically but for some reason after this mod it loses this step. I feel it's a hit or miss somehow. I've done this mod many ways and had it work but to only find issue down the road. Like: losing baseband, not being able to nand backup, and can't f2fs cache (I thing it's due to cache partition too small). So just stuck with stock partition instead. Don't get me wrong it's a great mod but there are side effects. If it works for you Great!:good:

Either way thanks OP for bring this mod to us.
[Galaxy Note II N7105 Android Development] Juzm:
Cheers, did that earlier but no luck. Stock 4.4.2 (N7105XXUFNE3_N7105NEEFNE3_N7105XXUFND3_HOME.tar) recovery gives me a long page of errors in red writing. I'm trying to go back to 4.3 now. It's 1am in the morning now so time for bed, no phone tomorrow.

I'm sure I'll sort it out in the end.

---------- Post added at 01:24 AM ---------- Previous post was at 01:02 AM ----------

That did get me up and running again thank you, the stock recovery wipe and cache, cheers for that. I was using an alternative recovery which gave me errors.

I'll try this again on the weekend and see if I get better results.
[Galaxy Note II N7105 Android Development] barn25:
Just a warning from a Tmobile note 2 user. Using this permanently screws over any ability to use odin and a pit file to repartition. It always fails no matter WHAT i do.
[Galaxy Note II N7105 Android Development] scariola:
Try flashing the stock re partition zip. Do not use the pit file, it does not work on T889. https://www.dropbox.com/s/8fki6jyi3bpr1ww/Stock_Partitions_N7105_T889.zip

I ended up having to flash the re partition zip twice to get the partitions to revert. Once I ran it, rebooted to recovery and ran it again after seeing nothing changed.

On the 3rd boot into recovery my partitions reverted and I used Odin no problems.
[Galaxy Note II N7105 Android Development] barn25:
See thats a problem ever since ive reverted there have been constant reboots. Plus before my note 2 accepted the pit files fine. now it does this when i try to use the stock pit.

<ID:0/017> Odin v.3 engine (ID:17)..

<ID:0/017> File analysis..

<ID:0/017> SetupConnection..

<ID:0/017> Initialzation..

<ID:0/017> Set PIT file..

<ID:0/017> DO NOT TURN OFF TARGET!!

<ID:0/017> Get PIT for mapping..

Its just stays stuck.
[Galaxy Note II N7105 Android Development] andrew.mackew:
@op

Hi I wonder if is possible to adapt this script for N9005 (HLTE). This is awesome, but unfortunately we don't have it yet. Thanks
[Galaxy Note II N7105 Android Development] 3to4:
How to make a rom to flash in the repartitioned N7105

Hello,

I think this mod is great, and is working well. I repartitioned my N7105 and restored the backup using PhilZ Touch. Everything works.

But, when I tried to flash a rom (CleanRomV5) to have a clean installation, it failed.

As I am beginning to use Dsixda Kitchen, I tried to flash a rom (4.1.2 stock based rom) I made. It failed, too. The rom is a very light rom from which I deleted a lot of apks, and it doesn't have "preload" neither, or at least. I don't see "preload" in the rom, but as I am very new in the kitchen, I may not understand many things.

It is great to have extra space in internal SD, but if I cannot flash my rom, it is a serious limitation.

Is there a way, by making some modifications to the rom, to make a stock based rom flashable to a repartitioned device?
[Galaxy Note II N7105 Android Development] (InsertNameHere):
Yes I think there is an answer to your question.

See, if i want f2fs i have to do this, and i think you have to do similar.

You install os, backup using custom backup and backup everything but modem, and then you repartition and restore onto it, that is what i do, i install os, backup, format f2fs and restore onto it. And yes i am using f2fs and this partition script.
[Galaxy Note II N7105 Android Development] 3to4:
Thank you, but I know that it is possible to proceed that way. But, if I have to restore the stock partitions, flash a rom, backup, repartition, and then restore the backup, and in the process, I need to copy all the contents of internal SD to the external SD, and copy them back, that's a lot of work. In addition, I need to restore the backup two times, because when I restore the first time, my internal SD is empty. So, custom ringtones which were in the internal SD are not restored. So, I need to restore the backup, copy all the contents of the internal SD back and then restore the backup again.

So, for me, it is much less troublesome, if I can make my rom flashable to the repartitioned device. That was my question.
[Galaxy Note II N7105 Android Development] (InsertNameHere):
I am unaware you saying you knew this already, you said you didn't know a way I gave you a way, time wise I agree its long winded, otherwise you have to create a custom rom from the stock rom.
[Galaxy Note II N7105 Android Development] 3to4:
Thanks for having tried to help me. My initial question was "Is there a way, by making some modifications to the rom, to make a stock based rom flashable to a repartitioned device? "

Anyway, I am running a stock based custom rom I made with Android Kitchen, and the rom I would like to flash is the same custom rom I made, which is very light. I deleted a lot of apks from it.

I checked the updater-script, and this rom does not flash anything to "preload", but still I cannot flash this rom to the repartitioned device.
[Galaxy Note II N7105 Android Development] drarkanex:
Ran this on my i605 VZW Note 2 and it was able to reclaim 1GB extra for me. Reflashed rom and all seems to be working well. that's 1GB saved I guess.. :)
[Galaxy Note II N7105 Android Development] 3to4:
It is interesting to know that you can flash your rom on a repartitioned device, whereas I cannot. Which rom did you flash? Which recovery did you use? I try to flash a stock based stripped rom (rooted and deodexed) with PhilZ Touch 5.15.
[Galaxy Note II N7105 Android Development] drarkanex:
I had to flash in odin the 6.48 version of philz.. Then flashed in recovery the latest miui for gt n7105. No errors
[Galaxy Note II N7105 Android Development] 3to4:
Thanks for the information. Maybe, my version of PhilZ Touch is too old...

I will test when I have time.
[Galaxy Note II N7105 Android Development] drarkanex:
were you able to find out?
[Galaxy Note II N7105 Android Development] 3to4:
No. I am traveling for the moment, and I need my phone. In addition, I once used a newer PhilZ Touch when I has stock partitions, and it was telling me something like it was using old binary, and I needed to update something, and I did not like it. That's why I went back to 5.15. So, I would like to find a way to flash a rom with 5.15.

PS: Without reverting to the stock partitions, I was able to flash a rom I made with Archi Kitchen with Philz Touch 6.48.4
[Galaxy Note II N7105 Android Development] erwichii:
Working

Excellent script!!! I can confirm that is working in i317m "Telcel Mexico", I Installed twrp back for install slim rom v9 and everything working fine, I will see how it work in the next days...

Thanks!!!
[Galaxy Note II N7105 Android Development] Eun-Hjzjined:
Anybody able to flash a lollipop ROM after repartitioning?

I can't.

Flexxin • LG D950G
[Galaxy Note II N7105 Android Development] noidman123:
There's two scripts. Don't use the one that says AOSP only cause that only works for KK AOSP. LP AOSP roms are significantly bigger in size. Use the first script and you should be fine. I use it for wilson3q's rom and CyanideL
[Galaxy Note II N7105 Android Development] Eun-Hjzjined:
OK. I'll try the other script later.

But I can confirm this. Formatting to stock, install, backup, format to AOSP, then restore and things work fine. Just don't know if this will hurt my emmc due to all the format runs.... I've looked at the lollipop structure (for cm and variants) and they don't need any more than maybe 1.3gb on system and don't use hardly any cache/preload at all.

Flexxin • LG D950G
[Galaxy Note II N7105 Android Development] noidman123:
Yeah you're right. If anything it may just be the LP structure itself that's the problem, and not actually the space. But good luck with the other script. I'm using it right now on Cyanide so hopefully it works for you too :good:
[Galaxy Note II N7105 Android Development] Resio:
Is there any one who is able to do the same script for Note 4 N910F ?
[Galaxy Note II N7105 Android Development] Eun-Hjzjined:
(Don't kill me for bringing back the dead)

Anyone know of something like this for the G3?

LG G3 D852

• EOS Revival

• Temasek [Unofficial] CM12.1
[Galaxy Note II N7105 Android Development] Rommul:
[MENTION=5686657]smeet.somaiya[/MENTION] Is it normal that the links for the AOSP and stock file (post#2 and #46) are both 4KB in size?

Are both those links down?

---------- Post added at 06:22 PM ---------- Previous post was at 05:57 PM ----------

No it seems the file in post #1 is down as well.

Does anyone else have these?
[Galaxy Note II N7105 Android Development] smeet.somaiya:
All those files are 3.66KB in size and there is nothing wrong with them. The links aren't dead.
[Galaxy Note II N7105 Android Development] Rommul:
Thank you
[Galaxy Note II N7105 Android Development] murti52:
hi.. sorry for bringing it from the dead but this way of getting back the storage is indeed pretty neat... [MENTION=5686657]smeet.somaiya[/MENTION] .. i own a n7105.. the 100 mb cache is pretty low for me,.. since most of the times i update the apps from the playstore in one shot.. so after 1 or 2 updates.. all the update gets cancel and error occurs,.. can you increase the cache to atleast 500 mb and create a new file.. you can keep the preload as it is in op... i'd be really thankful to you :) :)
[Galaxy Note II N7105 Android Development] LSH4:
For anyone having issues with returning to stock partitions

Hello!

I have a T889, T-Mobile Note II. I recently tried out this repartition script, but decided it wasn't for me, and wanted to return to stock via Odin.

However, no matter what I did (different cables, different Odin versions, different stock ROMs, etc.) Odin would *always* fail to repartition to normal, and I could no longer return to stock.

Flashing the stock repartition .zip didn't work either, no matter on CWM or TWRP, and no matter how many times I tried.

I managed to find a solution, though --- use Samsung Kies to restore firmware, *not* Odin! Samsung Kies flawlessly returned to factory settings, with no hiccups.

Just a friendly note in case anyone was having issues.
[Sony Xperia ZR] EnzoDC:
Is there any remedy or way to tighten the micro usb flap? It gets loose over time, except the jack, the jack for earphones is tightly covered whereas the Micro USB flap is getting loose overtime.. Im scared that it might soon be too lose that water would get in.

My question, is there any way to tighten/ secure it, or some piece of ornament to tighten things around it? Styrofoam of some sort idk.. or some adhesive to tighten it.. please help me out. This is for all of us.. thank you!
[Sony Xperia ZR] glukasil:
Not sure about tightening but you can use silicone paste to make it more waterproof.....also buy external dock to charge to avoid using use
[Sony Xperia ZR] LotoTutu:
No. I suggest you to get a new USB flap so that keep the phone waterproof.
[Sony Xperia ZR] ronaldbeti:
Try cleaning the rubber. Make sure there is no dust or any dirt.
[iPAQ rw6828, XDA Atom General] angelmed88:
help!!

Out of a sudden when I take pictures i can save it into my memory card. All my old pictures are all gone!

Instead, I have this new thing in my memory card called mounted volume. What is tat?

Help plss.... All my pictures are precious...
[T-Mobile Samsung Galaxy S II SGH-T989] Rivaflush:
I have the t989 telus phone running aokp_herculese_jb-mr2_milestone1 with the baseband t989dtlmc4 and for whatever reason there are no apn settings. any time i try to add an apn it will not save. when i insert the sim card (it's my friends phone, so she has another phone kept her sim) it's the same deal - no data, no apn and last night when i tested it wouldn't send text messages or anything else.

I have tried flashing multiple radios, but it doesn't appear to have worked. i've combed through these threads and really can't find a solution so i'm hoping it's something simple i missed.

Thanks!
[T-Mobile Samsung Galaxy S II SGH-T989] :
First, the first radio you had was the one you need. No older radios work anymore. Unless you're on ICS.

And try editing an APN that's there already, I stead of creating a new one. And save. That worked for me in the past. Make sure you edit every line in it to match the settings you should have.
[Xperia Z1 Q&A, Help & Troubleshooting] ffp.:
I just got a 4G plan now and i have a monthly 1GB until my internet speed is reduced. So, i want to be able to know exactly how much I have used ( i know that I can see this on settings, but there is a more trustable way?) and i want to limit the access of apps to internet, so I can keep my 4G on and not spend this data with crap like updates warning from google play or ads from apps/games.

How do i do that?
[Xperia Z1 Q&A, Help & Troubleshooting] funky0308:
Use watchdog from market

https://play.google.com/store/apps/details?id=net.rgruet.android.g3watchdog
[Galaxy Note 10.1 (2014 Edition) General] Keks1234:
hey guys. check my stats and tell me what you think please: faster discharge than charge....even worse if i dont regulate my cpu to 800mhz durimg gaming...tab doesnt even get too hot so where does all the energy go?

the first image shows one percent takes 1.30min to deplete so i get 150min overall when playing games. also 40% discharge per hour so 2-3x as fast depletion as when browsing or writing with spen. and that even thouh cpu max is 800mhz!
[Galaxy Note 10.1 (2014 Edition) General] clouds5:
My guess is, there is something wrong with the KitKat firmwares we have. Maybe that's why they haven't released it in most countries.
[Galaxy Note 10.1 (2014 Edition) General] Keks1234:
tried draining it completely last night... started around 8 with the process, 8.30 it was supposedly empty. after that around 15 reboots still possible, 2 hours screen time in download mode and about 20 minutes left to play around with it. battery kept jumping to 3-7% on reboot and then drained again. so lots of juice was still in there.. will see how it does now, that a complete drain was performed
[Galaxy Note 10.1 (2014 Edition) General] xda_user_p600:
Save your time. Draining and complete discharging is an old trend with batteries, made with older technology. Modern batteries are totally useless to drain, it only calibrates the device. Which can be done by Battery Calibration app.

Save the time and try to calibrate it. Requires root.
[Galaxy Note 10.1 (2014 Edition) General] fezzle:
I've had this problem for months (strangely I feel like it only became a problem a few months after I bought the device). I've heard some people say it's a motherboard issue and they sent it in to Samsung for repair. Others have said don't waste your time.

As for me, I just grin and bear it... and know that if I play a game I'll need to charge it soon after.
[Galaxy Note 10.1 (2014 Edition) General] Keks1234:
I rooted it so samsung will tell me tough luck but it is my own fault i guess... damn this is not the way I imagined it going...
[Galaxy Note 10.1 (2014 Edition) General] andyzarins:
I have the exactly the same problem.. I have tried one of the battery calibrating apps from the play store. Also I have now done a factory reset and also booted into recovery mode and deleted all cache. Then I have done another factory rest within recovery mode. So far seems much better. Hoping that it is fixed.

If not I am going to blast Samsung. I spent the £500 on this tablet and i expect more. Thought this was a premium product. See what happens but I notice there is only a 6 month warranty on the battery so Samsung may try and wash there hands of the situation. Does everyone have this issue who is using kit Kat?

See what happens but we may need collectively 'fight' Samsung if this is a hardware issue. I would encourage people to post there issues here just in case.

Have you noticed when you get to 0% battery life, if you reboot it will probably jump upto 30%? The calibration is well and truly stuffed!