yashsingh1/xdaforums huggingface dataset:
[Mi 3 General] eaXier:
Follow the guide to back stock partitions using the correct size(see below) but doing it in bytes => "unit B" . My unmodified partitions are below. Have a look at system and system1. I think it solve the problem.

Sorry for my bad english

Number Start End Size File system Name Flags

1 17408B 2097151B 2079744B sbl1

2 2097152B 3145727B 1048576B rpm

3 3145728B 4194303B 1048576B tz

4 4194304B 5242879B 1048576B DDR

5 5242880B 6291455B 1048576B ssd

6 6291456B 7340031B 1048576B dbi

7 7340032B 11534335B 4194304B aboot

8 11534336B 16777215B 5242880B bk1

9 16777216B 20971519B 4194304B misc

10 20971520B 29360127B 8388608B logo

11 29360128B 67108863B 37748736B bk2

12 67108864B 68681727B 1572864B modemst1

13 68681728B 70254591B 1572864B modemst2

14 70254592B 70255615B 1024B fsc

15 70255616B 134217727B 63962112B bk3

16 134217728B 135790591B 1572864B fsg

17 135790592B 167772159B 31981568B bk4

18 167772160B 201326591B 33554432B bk5

19 201326592B 218103807B 16777216B boot

20 218103808B 234881023B 16777216B boot1

21 234881024B 251658239B 16777216B recovery

22 251658240B 268435455B 16777216B ext4 persist

23 268435456B 335544319B 67108864B fat16 modem

24 335544320B 402653183B 67108864B fat16 modem1

25 402653184B 1073741823B 671088640B ext4 system

26 1073741824B 1744830463B 671088640B ext4 system1

27 1744830464B 2147483647B 402653184B ext4 cache

28 2147483648B 15757983231B 13610499584B ext4 userdata
[Mi 3 General] ashish289:
[MENTION=4898058]audahadi[/MENTION] Sir could you plzzz provide a flashable zip for repartition to exact value like this.

Thanks in advance:D

---------- Post added at 04:28 PM ---------- Previous post was at 04:22 PM ----------

The repartition zip we get from @ audihadi sir use MB format how to use these values?

---------- Post added at 04:35 PM ---------- Previous post was at 04:28 PM ----------

If you want to use miui use cwm as twrp also not worked for me and for stock partition and fastboot flashing wait for some time so anyone with megamind come up with a solution as I am just in flashing

My english:p
[Mi 3 General] imranaryan:
sir a flashable zip will be great
[Mi 3 General] Armin_van_buuren:
In HTCMania have created a zip to flash for recovery partitions leaving stock with the correct size.

http://www.htcmania.com/showpost.php?p=17750021&postcount=144
[Mi 3 General] Armin_van_buuren:
Yessssss!!!!! :laugh::laugh::laugh:

Number Start End Size File system Name Fl

1 17408B 2097151B 2079744B sbl1

2 2097152B 3145727B 1048576B rpm

3 3145728B 4194303B 1048576B tz

4 4194304B 5242879B 1048576B DDR

5 5242880B 6291455B 1048576B ssd

6 6291456B 7340031B 1048576B dbi

7 7340032B 11534335B 4194304B aboot

8 11534336B 16777215B 5242880B bk1

9 16777216B 20971519B 4194304B misc

10 20971520B 29360127B 8388608B logo

11 29360128B 67108863B 37748736B bk2

12 67108864B 68681727B 1572864B modemst1

13 68681728B 70254591B 1572864B modemst2

14 70254592B 70255615B 1024B fsc

15 70255616B 134217727B 63962112B bk3

16 134217728B 135790591B 1572864B fsg

17 135790592B 167772159B 31981568B bk4

18 167772160B 201326591B 33554432B bk5

19 201326592B 218103807B 16777216B boot

20 218103808B 234881023B 16777216B boot1

21 234881024B 251658239B 16777216B recovery

22 251658240B 268435455B 16777216B ext4 persist

23 268435456B 335544319B 67108864B fat16 modem

24 335544320B 402653183B 67108864B fat16 modem1

25 402653184B 1073741823B 671088640B ext4 system

26 1073741824B 1744830463B 671088640B ext4 system1

27 1744830464B 2147483647B 402653184B ext4 cache

28 2147483648B 15757983231B 13610499584B ext4 userdata
[Mi 3 General] eaXier:
"In HTCMania have created a zip to flash for recovery partitions leaving stock with the correct size."

Use it in CWM no TWRP. It's a modded zip from audahadi. I have changed only size to bytes like in stock partitions. Thanks
[Mi 3 General] Pallmalli:
Does this mean that now it's possible to flash miui with fastboot?
[Mi 3 General] Armin_van_buuren:
Yes .

Problem MiFlash it's resolved.

Enviado desde mi MI 3W mediante Tapatalk
[Mi 3 General] Canaan-CN:
i am vrey thank you .bu i can't download it by mega . it's still 0%. and could you please upload the zip here .thank you .

besides ,forgive my English.
[Mi 3 General] nosf3eratu:
thanks for this! back on stock partitions! :D
[Mi 3 General] praveen7682:
hi all i followed the following steps

1 flashed twrp recovery by kundancool

then performed wipe

then installed partition zip from my friend audahadi

then installed mokee rom

flashed gapps and supersu

rebooted the phone

installed disk info to check whether partition was done correctly...bad luck...partition didnt happen properly...

can you help what was wrong....
[Mi 3 General] ashdwoers:
if u wanna use zip file provided by audahadi

pls use cwm coz it wont work on twrp
[Mi 3 General] praveen7682:
I used cwm and then it worked...???
[Mi 3 General] Riichard63:
Backup your rom using TWRP, wipe everything except internal storage and restore your backup, normally you'll be able to see true system size. It's a tricky issue that happend everytime you flash a new rom.
[Mi 3 General] Pi3rluigi:
Report that the .zip file flashed using CWM 6.0.4.8(R7) on a Mi3W running Ivan's 5.0.2-0308, works properly.

After flash need to restore last backup I made, but phone booted properly
[Mi 3 General] Giga GJ:
guys i re-partitioned successfully then i got 1.2 gb for system 1 then i again re partitioned to factory state and tried mi flash but it gave me an error "remote:size too large" and when i checked the partition of system 2 it was there but the ext4 file system was converted back to raw...why its happening like that? i need to fastboot please help me out
[Mi 3 General] eaXier:
See post #152 and try my modded zip in HTCMania
[Mi 3 General] Giga GJ:
[MENTION=5073293]eaXier[/MENTION] i tried it and tried mi flash and it worked .......thank you bro :good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Mi 3 General] ZenR2:
Can you or anyone plz upload that zip in any other place like google drive as most of us are not able to visit mega site thanks in advance :)

---------- Post added at 09:24 PM ---------- Previous post was at 09:23 PM ----------

Google drive or any other link plz not able to acess mega thanks :)
[Mi 3 General] eaXier:
I can't post links outside. Sorry. If someone wants to do... :good:

I have put a link to 4shared in HTCMania(See post #152)

Flash it in CWM
[Mi 3 General] ZenR2:
Repartition Stock partition by [MENTION=5073293]eaXier[/MENTION] ,

Goodle Drive link

for the ones who are not able to acess Mega and 4 shared

link : https://drive.google.com/file/d/0B2KWTVddP13gWkxNQnVBS3B3QlE/view?usp=sharing
[Mi 3 General] Abhiroxx:
Will it restore stock partition?
[Mi 3 General] eaXier:
Yes. MiFlash will work again
[Mi 3 General] lukesky:
I tried flashing this in CWM and it gave me some error about signature not right or the file is corrupt. i downloaded twice and both files gave me the same error. I am allowed to go to the next step to flash the zip regardless but I'm apprehensive to do it since no one mentioned any error flashing this zip...
[Mi 3 General] Pi3rluigi:
Go ahead and flash as untrusted zip, all will be fine

Inviato dal mio MI 3W utilizzando Tapatalk
[Mi 3 General] lukesky:
Ok so I've flashed audahadi's zip to repartition to 1.2gb so mine is now 1.2gb system partition size, which is great but i'm left with only 92mb of free space and I think the reason why is I didn't restore my prev rom after I flashed the repartition zip. Instead I flashed my rom again with gapps from scratch.

So I went to wipe system, dalvik, cache and data and restored my previous backup taken before i repartitioned to 1.2gb and voila! System is 1.2gb with 705mb free.

Thus my next question is when i upgrade my rom or flash a new rom, will the system suddenly go back to the "almost full" size or from now on the system size will work properly? And should I always wipe system again before doing a clean flash of a new again, since usually we just wipe data and cache and at most dalvik when we flash a new rom?

---------- Post added at 09:48 AM ---------- Previous post was at 09:47 AM ----------

thanks, i went ahead and did it and it worked..
[Mi 3 General] gauravsaini964:
I want to use CWM as I dont want to shift to TWRP ,After re partitioning ,in which system should I flash the rom?
[Mi 3 General] ZenR2:
after re- partition flash whatever u want only in system 1 :p
[Mi 3 General] dinanski123:
Thanks with this. Worked ok my mi3.

First SS was before and second SS was after flashing the zip.
[Mi 3 General] aditya96:
can i flash repartition stock with twrp ? please answer
[Mi 3 General] Darktitor:
Can I use this with stock MIUI 6?
[Mi 3 General] Riichard63:
Yes that's what I'm doing actually, but don't forget to backup you rom as resizing partitions will wipe your /system

Envoyé de mon MI 4W en utilisant Tapatalk
[Desire 816 Q&A, Help & Troubleshooting] EnDSK:
Hello, I bought my HTC Desire 816 2 days ago from Amazon. I can't seem to get a signal on this thing no matter what I try,

I even unlocked the bootloader and flashed superSU to carrier unlock it (though it should be unlocked by default as well).

No matter which slot I put the SIM in, I always get the No SIM Card in phone message. No signals at all.

Any help?

It's HTC Desire 816w btw
[General Topics] gervasius:
hello,

I'm going in London, and I would like to know

where to find wifi hotspots for free in centre?

I would like to check mail for free.

thank you very much
[General Topics] Rudegar:
heard about both mcdonalds and 7-11 offering free wifi spots

not sure if it's in all countries though
[General Topics] doublej:
just google
[General Topics] raido:
try this search . IMHO there aren' t many free wifi hot spots in London - compared to Estonia.

I was in London cuple a months ago and finding free wifi hot spot there was real pain in the arse .
[General Topics] natee:
Apple Centre on Oxford street offers free wifi. Loads of people sit there with their laptops to use the Internet.
[Android Q&A, Help & Troubleshooting] zoim:
Is anybody help me to share stock recovery for Pocketbook surfpad3(10.1) CPU mtk8382(1,2ghz).
[Nexus 10 Q&A, Help & Troubleshooting] mlclm-:
Hi all,

My n10 is bootlooping and I tried to flash a factory image from ADB but it fails with the error that there is no space left. Is it possible to erase the SD card through ADB? Thanks!
[Nexus 10 Q&A, Help & Troubleshooting] demkantor:
Yes

fastboot erase data

But when flashing new software its best to

fastboot erase system -w

Side note, I have seen this issue fixed often just by updating fastboot and adb binaries on pc
[Xperia Z3 General] ondrejvaroscak:
I cant hold myself back to share my thoughts about general hysteria about unlocking bootloader and therefore losing DRM keys. While I understand, that many users are pissed off, there are some points to consider before putting blame on Sony:

- losing DRM keys in no way cripples or disables hardware in your phone. DRM keys protect some "exclusive" functions that Sony offers to users of its Stock ROMs, mainly Camera and Display Enhancements.

- Its up to you, to decide whether you want to go on with pure Iron and add functions you want, including any Image enhancements you want to add on top of raw data processing, or go full blown Sony with all bells and whistles.

- One should be clear, what he needs unlocking bootloader for. Root only, or Custom ROM/CM.

- even without "artificial" enhancements to Camera and Display, Z3 (and Z2 as well) is impressive piece of hardware and it will be pleasure to run swift clean Android/CM on it

- I blame Sony of course for not telling users the full story behind unlocking bootloader. It would be fair from Sony to offer re-flashing Stock including DRM to users, who unlocked bootloader before they knew that they will lose certain software functionality.

Howgh.
[Xperia Z3 General] ziemny:
For me it's more about losing the warranty ;)
[Xperia Z3 General] ondrejvaroscak:
Well, that's quite obvious :) It would be awesome to have hardware warranty separate :)
[Xperia Z3 General] SweDunda:
I'm using remote play so I do not want to loose my DRM keys...
[Xperia Z3 General] 3x3cUt0r:
You can root with giefroot (works in some versions) backup TA partition and then unlock.
[Xperia Z3 General] ondrejvaroscak:
The point is that giefroot works seldom. I cant use it, at least not now, simply doesnt work on certain models. Having TA/DRM backed up is good, but only for eventual reflashing stock. Maybe in future there will be some use for your DRM keys in CM or other ROM if there will be app requiring it or somebody makes Sony apps working..
[Xperia Z3 General] jordanyork:
If you root without unlocking the bootloader, do you still lose the DRM keys? I use Remote Play as well and that would really suck to have to choose between root or remote play and usable pics from the camera. I'm on a D6616 (T Mobile), so rooting doesn't work with the existing method yet, but hopefully it will soon.
[Xperia Z3 General] Newt182:
No. And after you can back the TA partition up and restore it whenever you like. The TA partition contains your DRM keys.
[Xperia Z3 General] jordanyork:
Fantastic! I'll just sit here and wait patiently for D6616 support. :) Thanks for the reply.
[Xperia Z3 General] sprkat85:
I'm with you. I'm just going to creep xda till somthing amazing happens lol.
[Xperia Z3 General] kuboweb:
4.4 roms would be great imo, dont know why noone pays them attention
[Xperia Z3 General] nrd\:
So from what I gathered you can root first, backup TA which includes the DRM Keys, then unlock bootloader?

Then if one wants to restore the DRM keys, restore the TA DRM backup and lock bootloader? and the phone is back to stock with the super duper enhancements? Correct?

Someone kindly confirm the above as im looking to pick one up if there is a backup / restore option available?

I will be looking to purchase a UK model.

Thanks.
[Xperia Z3 General] Thraxzzz:
Before restoring, flash to stock first. And then restore drm keys.
[Xperia Z3 General] ripnetuk:
How can you restore drm keys without root??? surely it needs block level access to that flash partition???

Anyway, only reason I want root is to re-enable r/w access to sd card, which apparently lolipop will have anyway

g
[Xperia Z3 General] bhavei:
With plain root, what would i loose? The dilemma is loosing something special out of a special phone. And whats drm to be exact? Sorry for being such a noob. The last time i explored rooting and custom roms are back when i was using an r800i Xperia Play.
[Xperia Z3 General] Thraxzzz:
You will lose nothing. Unless you unlock the bootloader which will mess with the TA, from there then you'll lose Sony abracadabra magic image processing and low light camera performance. DRM = TA

DRM is unique for each device, if I were to give you my DRM and you restore it, you'll hard brick your device for sure. It's like an identity card or a car plate (hopefully you get the idea) DRM is the one in charge of the magic sony has. This bad boy is very sensitive, be sure to back it up if you want to unlock bootloader.

All in all, root doesn't disturb this bad boy in his deep sleep lol

Cheers,

T
[Xperia Z3 General] julianbl:
Any chance that lifelog is affected by the loss of drm keys as well? It stopped tracking since unlocked...

Julián
[Xperia Z3 General] dstrande:
Google Camera

Is the DRM for the camera only for the Sony camera? If I unlock the bootloader and use the google camera from the play store will it be worse than using the stock camera when it was locked?
[Xperia Z3 General] bhavei:
Thanks Thraxzzz for the Idea, i now get it, i guess i was Looking for a General "need to know" thread here is the General but there's none "i guess" i have a full understanding "somehow" now. It wasn't this complicated back then when i still have my r800i, maybe someone should start a Sticky Thread about abbreviations and what must and must not. If i rushed in and unlocked my Bootloader, then i could have lost what i actually paid for from the beginning. Its interesting to start learning the do's and don't.
[Xperia Z3 General] Aronuser:
which app to use to backup ta (drm keys)?
[Xperia Z3 General] gregbradley:
The TA partition backup tool found in the cross device development forum. It is only needed if you plan on unlocking your bootloader
[Xperia Z3 General] julianbl:
False alarm... it suddenly started tracking again...
[Xperia Z3 General] Thraxzzz:
Normal camera will still work but performs badly under low light.

Always glad to be of help :) If you or any others who have extra questions which needs quick replies do shoot me up with PM as I'll receive email notification.

Cheers,

T
[Xperia Z3 General] dstrande:
Let's say I buy an unlocked version from someone. Is there a way to restore it without the backups?
[Xperia Z3 General] Newt182:
Restore what exactly? You can't restore the DRM keys so you will be relying on people patching apps or the OS to get apps to work. I think there is a way to get the camera working again.
[Xperia Z3 General] dstrande:
How do I get the camera working again? And what other apps don't work?
[Xperia Z3 General] zombiej79:
http://xdaforums.com/showthread.php?t=2930672
[Xperia Z3 General] rm83855:
If you root without unlocking boot loader and this doesn't erase your DRM keys then why would you need to back them up for restoring?
[Xperia Z3 General] Newt182:
Someone can correct me if I am wrong, but I think you need to unlock the bootloader to boot a custom ROM. There is a reason why you might need to back them up. I haven't encountered it because, like what I guess you will do, I have just rooted to get more control and have no need to unlock my bootloader, that I can see of. It still didn't hurt to spend a few minutes backing up the TA partition (DRM keys) though.
[Xperia Z3 General] rm83855:
I'm pretty confident you need an unlocked bootloader for a custom ROM, yes.

I did back my TA partition up just in case i do decide to switch ROMS, although the selection isn't great at the moment. To be honest though i don't honestly see the point of installing a custom ROM, mainly due to the fact that not many are stable, and i will not be happy to settle with further degradation of the camera considering it isn't all that great to begin with!
[Xperia Z3 General] ondrejvaroscak:
The camera does not degrade at all. What degrades is a picture that you get on unlocked phones. This is because software post-processing is not aplied. So you are getting exactly what the sensor "sees", without Sony software recalculating it. If someone develops routine to enhance pictures from Exmor chips, then you dont need Sonys DRM protected software to post-process...
[Xperia Z3 General] rm83855:
Yes I am aware the actual hardware isn't affected... that much is plainly obvious. However unlocking the boot loader has been known to make low light pictures worse due to the loss of the DRM keys due the fact pictures don't process correctly it makes for a worse picture on unlocked ROMS...
[Xperia Z3 General] ondrejvaroscak:
Yes that's true but that's purely software thing. Sony uses little software post processing to enhance picture. What you get on UB is exactly what camera gives you. What you get on LB is recalculated to look cleaner. But with DRM function restore you can use post processing also on UB so don't get why are people crying..
[Xperia Z3 General] rm83855:
Hold the phone, so I can unlock my boot loader and install say cyanogen and then restore my DRM keys and there will be no loss to photo processing? I assumed you could only restore DRM keys on a stock based ROM?
[Xperia Z3 General] ondrejvaroscak:
You do not restore the keys. You install MOD that makes DRM protected software working without DRM keys. This software is off course available in Stock ROM only unless someone ports the post processing to other ROMs as well. Restoring keys is only possible by resorting TA partition doing so will relock the boot loader.
[Xperia Z3 General] Jay794:
It also means you can't use Video Unlimited. Or the films you've already got
[Xperia Z3 General] rm83855:
So what would be the point in unlocking in the first place, if your intending to use a stock ROM anyway :eek:

Is this option for people who unlocked without backing up their TA partition?
[Xperia Z3 General] ondrejvaroscak:
Correct. Or people who want to use stock ROM but with custom kernel
[Xperia Z3 General] abprie:
So, what tool do you use to backup and restore TA partitions? I found that TA Backup is not in development anymore.
[Xperia Z3 General] Minsh:
Try this link dude http://xdaforums.com/xperia-z/orig-development/tutorial-backup-ta-partition-to-drm-t2234627
[Xperia Z3 General] creison:
Factory Unlocked.

Hi folks,

I´m wondering buy a Z3 and i want it with the DRM keys.

My question is if i get one of those Unlocked from factory selled in ebay does it have anything to do with the bootloader or it is just the SIMcard operator that is unlocked to use in any country ?

I`m just confused about this.

Thanks in advance !
[Xperia Z3 General] uddinf:
If you are buying an Factory sealed "unlocked" phone, then it has nothing to do with bootloader unlocked. The "unlocked" is referring to ability to use SIM cards from different operators.

Unless the seller specifically says it is "bootloader unlocked" then it is of course bootloader unlocked. But as you said its a factory sealed phone so it should be bootloader locked from factory.
[Xperia Z3 General] creison:
I C, thanks for the feedback ?

From my Xperia Z!
[Xperia Z3 General] mdxii:
is restoring the TA Partition and off course the DRK keys relocks the bootloader ?

since the bootloader exists in the TA partition as i know !
[Xperia Z3 General] netizensmith:
This at the bottom of the Sony developer site:

"The factory reset will return the device to the condition it was in when shipped from the factory."

Now, as it turns out, a factory reset does not return the device to the condition it was in when it shipped from the factory. The DRM keys are still gone and the bootloader is unlocked. I've contacted Sony's tech support to see what they say. Seeing that last statement on their site removed any concerns I had but it's blatantly incorrect.
[Xperia Z3 General] Peter P.S.:
Correct if I'm wrong, but I thought the Sony software enhancements were kept working after KitKat, even with the bootloader unlocked.

This is just the first thread I found by searching the subject, but I remember some developers threads talking and investigating it.

http://xdaforums.com/showthread.php?t=2691033

But anyway, if you're up to the point to unlock your bootloader, you should know by that point that you can root, backup TA, unlock bootloader, than restore DRM functions even with LL [or flash the latest stock rom and relock bootloader, as you wish].

For DRM restoring thread, just use search button.
[Xperia Z3 General] alexhdkn:
Flashing a FTF will unlock my BL? How do I know if my BL is locked or not? What happens when I unlock BL? What functions won't work without DRM Keys?
[Xperia Z3 General] conny005:
I dont think it will unlock BL. To know, you have to enter in service menu *#*#7378423#*#* and go too configuration and read rooting status, if bootloader unlock allowed is yes. I think all functions work after unlock BL, but camera wont make picture like before, and the display lose something but i didnt observed on my Z1. For the moment i didn't unlocked BL on my Z3. Sorry for my english, hope it will helped you.
[Xperia Z3 General] htuananharch:
My phone say: Unlock Bootloader Allowed: No. Does it mean I can't unlock bootloader?
[Xperia Z3 General] Arju:
That's correct, you cannot unlock your bootloader.
[Xperia Z3 General] conny005:
Unfortunatly , yes, you can't.
[Xperia Z3 General] htuananharch:
Sad news. But at least I never loose my DRM :angel:
[Xperia Z3 General] conny005:
:)

Trimis de pe al meu SM-T230NU folosind Tapatalk