yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Android Development] followmsi:
You search on XDA for better help on how to "play" with apk.

Did you try to install as APK file .. not from play store ?
[Nexus 10 Android Development] goodflood:
[/COLOR [MENTION=5480152]followmsi[/MENTION]

I searched online, with some hits on xda... many guides suggest to change the prop file and set device identity to something else... for example, change manta to, say, nexus5. But others say don't do this as, it could cause all kinds of problems.

Yes, the apk was extracted from a device with playstore. But, my manta has no playstore. Do i need an emulator package?
[Nexus 10 Android Development] andreashotz:
Installed latest 15.1 August release and works almost perfect. Of course, as expected, the Camera is not working. My issue is that a lot of settings cannot be adjusted because they are missing. For example I can install an additional keyboard (keepass), but cannot activate ist, because I am unable to activate the keyboard icon on the navigaton bar (to be precise, I can define it, but it does not show). On AICP on another device, I can activate this, as it has a lot more ajustments. Is there something I am missing?

Regardas Andreas
[Nexus 10 Android Development] followmsi:
Did you try to install the same apk / app downloaded from apkmirror .. etc. ?
[Nexus 10 Android Development] followmsi:
We build standard lineage code .. not all customizations are part of all ROM.
[Nexus 10 Android Development] goodflood:
unable to install apk

Sorry [MENTION=5480152]followmsi[/MENTION] I wasn't clear...

I have a phone with playstore. The app in question is installed from the playstore (as are others). I have apkextractor installed as well. Apkextractor allows me to extract any apk. I have extracted apks and used them on other devices without problems, including android tv.

My Manta is clean with fdroid. There is no play store on it. However, manta does not allow the app in question to be installed. I haven't checked the app in question with my other phone (which also does not have playstore. Same thing on an android tv (which does have playstore on it); I cannot install the app in question. The app in question just does not install.

I am thinking that the solution might involve unpacking and modding the apk...
[Nexus 10 Android Development] fhyfds:
Will we be seeing a Pie release from this developer? just curious.
[Nexus 10 Android Development] followmsi:
Yep

Actually planned after AOSP version .. but as I want to test some stuff the first lineage-16.0 build will come earlier.

I will let you know :)
[Nexus 10 Android Development] followmsi:
lineage-16.0

lineage-16.0-20180906-UNOFFICIAL-manta.zip

The ROM is huge .. no space left for any gapps version.

Lineage just has started to work on Pie .. not all the features are ready yet.

Actually I did miss the opt-in setting for the Pie Navbar, pushed it to Github for the next ROM.

There are still a lot of open issues .. and general problems like partition size.

Maybe we can use cache partition as vendor partition .. not sure yet !

Lineage is merging AOSP monthly sources directly into lineage-16.0 branch .. the reason for the September updates included.

The Oreo builds will get monthly updates later.

Enjoy :p
[Nexus 10 Android Development] fhyfds:
Hi :)

Can't you just increase the size of the system partition?

Tnx for your work!
[Nexus 10 Android Development] followmsi:
You will need to re-partition your system and cache partition .. manually .. via command line.

Actually I would like to prevent it.

/cache partition has 500 MB .. in Oreo it's not used anymore .. 2% usage.

Take 450 MB from cache and enlarge system partition .. from currently 800 MB to 1250 MB.

Just 1000MB/1GB for system would be Ok !

The command "cat /proc/partitions" will show you the current partition setup.

( ls -al /dev/block/platform/*/by-name )

The tool "parted" for arm32 is available for download .. to change partition layout.

Pls, don't blame me if you "killed" your partion table !!!!!!

Maybe there are some more user friendly, automated ways of doing the re-partitioning.

Still not sure if it's the ideal way .. mounting cache as vendor is an option too.

For RR I do need to revert changes which are supposed for all devices .. actually optimizing speed .. but using disk space.

The changes are "not working" on manta - due to system space situation.

Otherwise you would not be able to install any gapps package .. which does not help either.

If the technical problems in Pie should get fixed at some point .. the system space situation is persistent.

Hope you have a better understanding ..
[Nexus 10 Android Development] followmsi:
September 2018

lineage-15.1-20180910-UNOFFICIAL-manta.zip

Changes:

- Google Security updates -> September 2018

- moved shim libs to vendor

- Latest LineageOS changes

Enjoy :p
[Nexus 10 Android Development] N10A:
Maybe the repartitioning could be done by the ROM installer script first? With a warning for the users should they want to install a future ROM in future, and instructions explaining how to stock repartition the device.
[Nexus 10 Android Development] fhyfds:
Sounds good to me :)
[Nexus 10 Android Development] followmsi:
"if" there should be an automated way it will definitely separated from normal ROM installer.

It's an one time action which needs special care.

I don't want to spend much time in testing and building an automated re-partition solution .. it's not too hard to do it manually.

The automatic way is a separate project for itself.

Here you see some instructions ..

https://xdaforums.com/android/general/guide-repartition-gpt-partitioned-t3457157

https://iwf1.com/how-to-re-partitio...-all-options-included-change-size-fs-type-etc

And one for manta ..

https://xengi.de/posts/2016/03/27/playing_with_mantas/#playing_with_mantas

Maybe I will re-partition my manta soon.. and will create instructions for it.

Right now I want to spend my free time for Android Pie troubleshooting ..

Cheers
[Nexus 10 Android Development] N10A:
You're the boss :)

Thank you for what you do
[Nexus 10 Android Development] The-Saint2k:
Undervolting Kernel

Hello. I have bought a bellyed Nexus 10 Tablet

I bought a bulbous Nexus 10 tablet and am thrilled that you have a current version of Lineageos available.

Unfortunately I have the problem that the tablet runs out at 70%. A battery exchange did not bring any improvement. By downclocking the CPU I could improve the problem a bit. Now I wanted Undervolting. Would it be possible to adjust the kernel?
[Nexus 10 Android Development] :
This behavior sounds really to an aged battery. I've experienced this two times in my Nexus 10 live (since market entry 2012!) and I've changed the battery. And I've got a "new and running" Nexus 10 back. Have you really tested a new and working battery?
[Nexus 10 Android Development] N10A:
Probably the 'new' battery that you bought was faulty. I had the same issue, but a battery change brought my Nexus 10 to new life.
[Nexus 10 Android Development] MasterOfBytes80:
Do i understand it right, that the Headphone Jack is working now without installing anything else?
[Nexus 10 Android Development] followmsi:
Yes .. for Oreo ROMs.
[Nexus 10 Android Development] stelakis1914:
We hope for camera fix now. :D
[Nexus 10 Android Development] ipdev:
I tried REPIT awhile ago when it was first available for my Nook HD+. Didn't need it at the time but, I just happened to look it up again here last week because I do now.

Link

From a quick look, it looks like it should work(?) if manta was ported.

What caught my attention was this. So now I can not find it but, he links this old cm commit.

Link

Would this work if you added it to the current builds?

If so, then even manually repartitioning would look a whole lot brighter. :)
[Nexus 10 Android Development] followmsi:
Thanks for your input !

I have seen REPIT too .. interessting .. needs to be configured and tested for Nexus 10.

Are you able to proceed with testing ?

In AOSP builds we do have already resizing of system partition in place.

Not automated and just for testing ...

ui_print("system partition file-system check and resize ..");
run_program("/sbin/e2fsck", "-fy", "/dev/block/platform/dw_mmc.0/by-name/system");
run_program("/sbin/resize2fs", "/dev/block/platform/dw_mmc.0/by-name/system");

Yes .. will have a look for automation .. in the next time.
[Nexus 10 Android Development] mazsuper:
Finally tried 15.1 again after staying on 14.1 for last 6 months, perfect daily driver

Thank you
[Nexus 10 Android Development] ipdev:
I have no problem giving it a try, I learn a lot by testing.

Normally what not to do and how to fix it afterwards .

Always willing to learn though. :o
[Nexus 10 Android Development] stunned:
Is there an option to add lockscreen shortcuts in 15.1? I can't find it
[Nexus 10 Android Development] followmsi:
CM-14.1 - September 2018 release !

https://review.lineageos.org/#/q/topic:n_asb_09-2018

lineage-14.1-20180924-UNOFFICIAL-manta.zip

Changes:

- September 2018 security level

- Latest LineageOS changes

Sources:

https://github.com/followmsi/manifests/tree/manta-lineageos-cm-14.1

https://github.com/followmsi/android_kernel_samsung_manta/tree/followmsi-nougat

Enjoy :p
[Nexus 10 Android Development] rogers11:
Confirmed ?
[Nexus 10 Android Development] castrwilliam:
I compiled a static copy of fdisk from util-linux for ARM if anyone would rather use that when repartitioning.

Also attached is the output of fdisk -l with all the columns for a stock 32GB Nexus 10. Might be helpful if you screw something up... might be.

If you do this, remember the partition labels ("system", "userdata", "cache") are just as important as the type and order of partitions, because that's how they're referred to in manta.fstab and hence how both TWRP and the normal OS find them to mount them.

Just remember, don't mess around with anything above "cache" if you want to be safe. It shouldn't be bricked too badly even if you manage to just delete those three, but you'll probably end up with a crashing twrp and you'll have to do everything from an adb shell. And don't reboot it when it's screwed up, obviously. That will always make things worse.
[Nexus 10 Android Development] followmsi:
Thanks for your input !

Did you check for GPT support .. normally fdisk does not have it.

The reason for using gdisk or parted.

Did you made repartitioning on your 32GB manta already ?
[Nexus 10 Android Development] ipdev:
Sorry for the delay. I seem to keep getting sidetracked by work, or other devices.

So I have successfully modified REPIT to work for my Nexus 7.

I do a lot of testing on flo. I use my 32Gig daily, and have a 16 Gig, for testing.

Nexus 7 WiFi (2013) Flo.

Pre-Flash

Number Start (sector) End (sector) Size Code Name

22 1310720 3031039 840.0 MiB 8300 system

23 3031040 4177919 560.0 MiB 8300 cache

Post-Flash

Number Start (sector) End (sector) Size Code Name

22 1310720 3825663 1.2 GiB 0700 system

23 3825664 4177919 172.0 MiB 0700 cache

So now it's time to try on manta. :D

Partition layout is simpler, no free spaces between some partitions, and I know REPIT a little bit more intimate now.

Number Start (sector) End (sector) Size Code Name
7 172032 1253375 528.0 MiB 0700 cache
8 1253376 2891775 800.0 MiB 0700 system
9 2891776 61063167 27.7 GiB 0700 userdata

1.2 Gig System and 128 Meg cache for manta sound good?

Should I steel some space from User Data?
[Nexus 10 Android Development] castrwilliam:
Yes, I did, everything worked fine. I even added a 10th parition for the Raspbian port I'm working on.

Recent versions of fdisk, at least the util-linux one, support way more than just MBR. I like it because it's less verbose than parted. Parted reminds me too much of diskpart.
[Nexus 10 Android Development] followmsi:
Cool .. for me personally 1.2gb is fine .. no need to change userdata on manta.

Thanks
[Nexus 10 Android Development] followmsi:
Thanks for confirming ..

It's time for repartition soon. ;)
[Nexus 10 Android Development] rogers11:
Hello, do I have to expect problems when I set Selinux to "Strict"?
[Nexus 10 Android Development] followmsi:
[MENTION=7280276]ipdev[/MENTION]

Do you have a ready made REPIT TWRP flashable package for flo (16GB) ?

Like you describe above .. only changing system and cache ?

Pls share this package.

Thanks !

Just made a custom TWRP for manta .. for the manual way. :)

twrp-3.2.3-0-manta-parted-fdisk.static.img

Added "fdisk.static" and "parted" into /sbin with correct permissions to execute.

fdisk.static -l /dev/block/mmcblk0

parted /dev/block/mmcblk0

Of course. a ready made TWRP package for manta would be even better .. it's just more simple to use.

As it looks like the system and cache partition layout is identically on 16GB and 32GB version, just userdata differs.

Cheers
[Nexus 10 Android Development] followmsi:
Re-partition system and cache !

I did the manual way now .. was lazy and did use terminal inside twrp - no cable and no adb.

But I do recommend to use adb from PC .. typing is more easy.

We are changing system and cache only .. data will stay untouched !

1. Download customized TWRP from here: twrp-3.2.3-0-manta-parted-fdisk.static.img

2. Boot into current TWRP and install the customized TWRP version and reboot into recovery again.

3. Go into mount menu and unmount cache - if system should be mounted unmount too.

4. Go into "terminal" inside TWRP ( or use adb shell all the time )

Now we are ready to rumble .. I have used parted for manta now.

5. To enter parted ..

parted /dev/block/mmcblk0

6. To see current partition layout.

p

7.

we switch to sector units.

unit s

8.

we remove cache partition first

rm 7

You can always type "p" again to look at current layout !

9.

we make new cache .. but smaller

mkpart 7 172032 434175

10.

we name partition number 7 correctly.

name 7 cache

Again .. You can always type "p" again to look at current layout !

11.

we remove system now ..

rm 8

12.

we make new system .. but bigger now !

mkpart 8 434176 2891775

13.

and we name it ..

name 8 system

We check a last time with "p" if all is fine now ..

We may switch to MB ..

unit mb

And type "p" again .. nice ?

14.

We type "quit" to save and leave parted !

This will save all the changes you have made !

If something you want to change do it before you quit.

quit

15.

We just do a quick inital format in TWRP ..

for cache

mke2fs -t ext4 /dev/block/mmcblk0p7

and for system too .. we keep ext2 like before .. system.img is ext4 anyway.

mke2fs -t ext2 /dev/block/mmcblk0p8

16. (optional)

Now go into TWRP mount menu and try to mount /system and /cache.

Does it work ?

17.

Now it's time to reboot into recovery again .. just install the original TWRP version again and reboot into recovery.

Not into system yet !

If you dont reboot again you may get stange error message from ROM installer script.

18.

Once rebooted into TWRP its time to install your ROM like always ..

Done !

If you want to changes sizes ..

1 MB are 2048 sectors.

At 2891776 is starting /data .. system needs to end at 2891775 !

Now with new partiton layout .. since long time I use normal gapps packages again !

No need to for modified version of gapps anymore :)

Cheers
[Nexus 10 Android Development] ipdev:
REPIT for flo. Link

REPIT for manta will be soon.

I accidentally switched system and cache partitions. Whoops!

Once corrected and tested I will share it.

Edit:

To install. Boot into twrp, copy file to /tmp unplug usb cable and install.
[Nexus 10 Android Development] followmsi:
Thanks a lot .. I may publish your link/package in flo/deb classic version thread too .. hope its OK for you ?

And now for manta too .. Nice !

Pls take your time .. For stuff like this its better to have stable solution - no need to be fast !

The 32gb manta I did manually .. But as I have 2 Nexus 10 (32gb and 16gb) I will wait for your REPIT package and test it on 16gb version.

Thanks for your work !
[Nexus 10 Android Development] ipdev:
REPIT for manta. Link

lanchon-repit-09180102-cache=max+wipe-system=1228M-manta.zip

UPDATED REPIT for flo. Updated to accept flo and deb.

lanchon-repit-09180202-system=1228M-cache=max+wipe-flo.zip

I happen to have a 32Gig deb. ;)

Official REPIT Link
[Nexus 10 Android Development] onoakino:
Tldr: Sorry for my ignorance but can you give a short explanation why we need to repartition? Is the system partition too small already?

I think it is great to implement. Increasing System and cache. Honestly, on a 32gb manta, there's too much free space on data. Taking a gig or two out of it for system and cache wouldn't really matter to me.
[Nexus 10 Android Development] ipdev:
Actually it is reducing cache and adding the space to system.

cache=max+wipe is just me being lazy. :silly:

Only calling cache and system partitions, leaving the rest alone. Wiping the two partitions and declaring system as 1.2GiB, the remanning space will be used for cache by using =max.

Most older devices have a small system partition and cache is barely used now. So by reducing cache and adding the space to system helps quite a bit.

As for data, on a 32 gig version it would be easy to pull a gig for system but, those with a 16GB version may not agree. ;)
[Nexus 10 Android Development] followmsi:
Well done !

I just used your package to change partition layout on manta (16GB).

Works fine .. without any issues !

Just some hints for other partition resizers ..

- I had no cable at all, but MTP was enabled (had to disable MTP and reboot TWRP before the script starts correctly)

- Like said above .. the package needs to be placed and started form /tmp folder - started it from /sdcard/Download folder - no luck!

- It even keeps the existing files on system .. this way it takes a bit longer to run. - still recommend to do fresh ROM install afterwards.

- "clever" script .. does checks and tells you what is going on.

- It's "safe" -> script is changing only when all requirements are fullfilled.

I do recommend this TWRP flashable package for all Nexus 10 users !

[MENTION=7280276]ipdev[/MENTION] - thanks for your work !!!

To be ready for new partition sizes I have updated a few branches today.

Updated Oreo AOSP, Lineage-15.1 and RROS Oreo .. Pie AOSP/Lineage-16.0 .. and CM-14.1 too !

https://github.com/followmsi/androi...mmit/1b89de7eeff4313a55e807fa2d20579dc207860c

Now the ROM installer will automactilly enlarge system partition when you install a new ROM.

You can direclty start gapps installation afterwards.

If the Pie graphics issues should get fixed at some point - we will have no free space problems anymore ! :)

Cheers
[Nexus 10 Android Development] rogers11:
Thanks, just finished repitting. No problems so far.
[Nexus 10 Android Development] drewski_1:
This is pretty cool. I need to get my N10 back from the friend I lent it to! :o
[Nexus 10 Android Development] XxM4tzexX:
So enlarging only happens on clean install, not with an update?
[Nexus 10 Android Development] followmsi:
You need to do repartition your system and cache partitions .. either via TWRP package or manually via shell.

It's an one time task.

But the filesystem of the system.img inside the ROM will keep always the same size .. approx. 800mb.

The filesystem does not know the "real" size of the actual partition.

In general .. If you install an image into a partition the filesystem will have the size of the image (in our case 800mb).

The free space we got thru repartitioning needs to be allocated again.

For this reason we need to enlarge/resize the filesystem after each ROM update and/or clean install.

Only the filesystem .. the partition itself will stay untouched.

Hope you have a better understanding ..
[Nexus 10 Android Development] ipdev:
[MENTION=4855645]XxM4tzexX[/MENTION]

If you want to update and gain the extra system space, try using the flashable zip. Link

It should: Backup. Repartition. Restore and resize system.

Flash it and reboot, make sure everything worked. You should show a 1.2GiB system, apps and settings should appear as nothing happened.

Afterwards, if everything worked, you should be able to flash the update and reboot.

No Guaranties. ;)

Edit:

As noted, the repartitioning is a one time deal.

Second Edit:

Thank You ! [MENTION=5480152]followmsi[/MENTION] for adding this.

:D:good::highfive:
[Nexus 10 Android Development] followmsi:
October 2018

lineage-15.1-20181007-UNOFFICIAL-manta.zip

Changes:

- Google Security updates -> October 2018

- ROM installer will enlarge filesystem on system partition automatically.

- Latest LineageOS changes

For the System and Cache repartitioning / Opengapps: Error 70 topic I have updated the first page.

Enjoy :p
[Nexus 10 Android Development] rogers11:
Many thanks, it updated without problems (Repitted, Magisk, MindTheGapps).
[Nexus 10 Android Development] guidol:
Many Thanks to [MENTION=7280276]ipdev[/MENTION] for the repartition-tool :good:

As I didnt completely did understand the install instructions I had to do it with trial and errror :D

So I failed 2 times - and I do write this to help other people to get around the problem I had or that they know to be on the right way...

At the 1st fail I did try to flash the .zip directly from /sdcard/oreo where I normally have my files to flash.

The installer told me that he couldnt flash/work because he couldnt dismount /sdcard, but copied the .zip in /tmp

My 2nd fail was to try flashing the .zip from /tmp, but TWRP did think that MTP is enabled in the moiunt-options. But I had it disabled on a reboot before. So MTP did how disabled.

The solution for this was easy : I enabled MTP and disabled it then again.

After going back to "Install" and selecting the .zip from /tmp the repartitioning does begin :victory:

After a reboot (no long rebuild of the cache anymore - but "long" formatting of the dalvik/cache) the Nexus 10 did start correctly and I could install

lineage-15.1-20181007-UNOFFICIAL-manta.zip

and the lastest GApps-Pico

open_gapps-arm-8.1-pico-20181009.zip :cool:

All done in my 16GB Nexus 10 (manta).
[Nexus 10 Android Development] drewski_1:
Quick and easy. Thanks!! :victory:
[Nexus 10 Android Development] followmsi:
It's time for Lineage-16.0 :D

As we have big system partition now ..

lineage-16.0-20181013-UNOFFICIAL-manta.zip

Changes:

- Google Security updates -> October 2018

- ROM installer will enlarge filesystem on system partition automatically.

- Workaround for NavBar icons (vector drawables are not working yet)

- Overlay for Notification Bar -> thanks to [MENTION=6556709]Vartom[/MENTION]

- Some more changes .. etc.

- Latest LineageOS changes

Sources:

https://github.com/followmsi/manifests/tree/manta-lineage-16.0

For the System and Cache repartitioning / Opengapps: Error 70 topic I have updated the first page.

Enjoy :p
[Nexus 10 Android Development] Narcoticx:
Led notifications dont work? I cant mount device storage on windows.
[Nexus 10 Android Development] onoakino:
[MENTION=5480152]followmsi[/MENTION]

Shareit has stopped working since Nougat came along. Its one great tool to use moving files between devices without usb wires.
[Nexus 10 Android Development] wfm_de:
Just installed lineage 16.0

Installation is running without errors, but there was no repartitioning.

The partitionlayout was unchanged. Nothing hqppend automaticaly.

What must i do, to get the new layout ?

Gesendet von meinem Nexus 10 mit Tapatalk
[Nexus 10 Android Development] stunned:
Files go works

---------- Post added at 06:12 PM ---------- Previous post was at 06:11 PM ----------

Read OP. I used repit
[Nexus 10 Android Development] followmsi:
Like mentioned above .. this (one time) task you need to do yourself.

Pls read OP and check the links for more information.

Good luck !
[Nexus 10 Android Development] wfm_de:
Thank you very much.

Now all is running perfectly !

Gesendet von meinem Nexus 10 mit Tapatalk