[rom][cm12.1] Last Hope Rom - Best Rom Ever? ;)


Ok, I thought that you are using some app to do that. You need tell us more what you are doing. If you simply copy your hosts file to /system/etc just be sure that you have root privileges. Without that you can't update this file.
It is working now. I am using this hosts file: http://www.android-hilfe.de/thema/a...-einfach-zum-flashen-staendig-aktuell.418047/. First, I tried copying it using twrp as this has always worked before. I have set the permissions to rw-r--r-- and owner root:root. Still, this did not work, so I decided using twrp and leave the included script to the task. This has worked but I still do not know why because it simply copies the hosts file to /system/etc.
 
So for my understanding and maybe for others, is this the correct procedure when coming from M1cha's rom?

1. Backup all the phones data on PC
2. Install latest MIUI via fastboot, following this guide: http://en.miui.com/a-234.html using flash_all script
3. Install TWRP Recovery, following this guide: http://en.miui.com/thread-190608-1-1.html (Procedure 2)
4. Install Bugers ROM via TWRP Recovery ( http://xiaomi.eu/community/threads/rom-cm12-1-last-hope-rom-public-rc3-20160109.29188/ )
5. Install GApps ( http://opengapps.org/ )

Thanks
 
So for my understanding and maybe for others, is this the correct procedure when coming from M1cha's rom?

1. Backup all the phone's data on PC
2. Install latest MIUI via fastboot, following this guide: http://en.miui.com/a-234.html
3. Install TWRP Recovery, following this guide: http://en.miui.com/thread-190608-1-1.html (Procedure 2)
4. Install Bugers ROM via TWRP Recovery ( http://xiaomi.eu/community/threads/rom-cm12-1-last-hope-rom-public-rc3-20160109.29188/ )
5. Install GApps ( http://opengapps.org/ )

Thanks
1 yes
2 yes, fastboot--flash all
3 yes, Oh, I made a mistake, correct 2
4 yes
 
Last edited:
  • Like
Reactions: ThaRooP
1 yes
2 yes, fastboot--flash all
3 yes, but procedure --1. Temporary boot into TWRP recovery from PC via fastboot for testing purposes
4 yes


For #3:

If you want to keep TWRP permanently you should use procedure "2. Permanent installation of TWRP recovery from PC via fastboot"

and:

do not forget to swipe right on "Swipe To Allow Modifications" button in TWRP start page when "Keep System Read Only?" asked.

Tested, perfectly works!
 
Last edited:
  • Like
Reactions: erlkönig
Before flash RC3 make sure you have new official partition layout by MIUI. Install terminal emulator type df command and check your partition sizes as below:

Merged data in case of 32GB Mi2 = 27 GB
Merged system = 1009.3 MB

927be66cdebc736ef7e2f5a774fa6d03.jpg


Sent from my MI 2S using Tapatalk
 
I've got delayed notifications on wifi (not in hsdpa) like old Ivan's builds, and I cannot go back since I have the latest partition layout.
Whatsapp with my fiancée is crucial so I'm on smiui until it gets fixed.
a coffee for you bugers :)
 
  • Like
Reactions: bugers
Before flash RC3 make sure you have new official partition layout by MIUI. Install terminal emulator type df command and check your partition sizes as below:

Merged data in case of 32GB Mi2 = 27 GB
Merged system = 1009.3 MB
Sent from my MI 2S using Tapatalk
Would you mind running as root on your android phone with the new MIUI layout (5.11.16 or so):
Code:
# parted /dev/block/mmcblk0 print
and share the output?

If you do not have the parted binary, I can upload it somewhere for you.

I have Micha's "unified single" layout and it looks like that:
Code:
# parted /dev/block/mmcblk0 print                              
Model: MMC SEM32G (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      17.4kB  178MB  178MB  fat16        modem
2      178MB  178MB  1024B
3      178MB  179MB  524kB                sbl1
4      179MB  179MB  524kB                sbl2
5      179MB  180MB  1049kB              sbl3
6      180MB  181MB  1049kB              rpm
7      181MB  182MB  1049kB              tz
8      182MB  183MB  524kB                DDR
9      183MB  187MB  4194kB              aboot
10      187MB  188MB  1049kB              misc
11      188MB  191MB  2990kB              logo
12      191MB  192MB  799kB                m9kefs1
13      192MB  193MB  799kB                m9kefs2
14      193MB  193MB  1024B                m9kefsc
15      193MB  201MB  8501kB              bk1
16      201MB  202MB  799kB                m9kefs3
17      202MB  268MB  66.3MB              bk2
18      268MB  300MB  31.5MB              boot
19      300MB  300MB  1024B
20      300MB  316MB  15.7MB              recovery
21      316MB  327MB  11.5MB              bk3
22      327MB  336MB  8389kB  ext4        persist
23      336MB  1409MB  1074MB  ext4        system
24      1409MB  1409MB  1024B
25      1409MB  1812MB  403MB  ext4        cache
26      1812MB  31.3GB  29.5GB  ext4        userdata
I looked at the ZIP files from Russian forum (which someone re-uploaded to Mega) and the update script seems to do pretty much the same, the only difference that p24 is also formatted and named and that p23 and p24 differ in size a bit.
So I would be interested how does the new partition layout of MIUI 5.11.16 and newer actually looks like.
 
  • Like
Reactions: unicoco12345
Would you mind running as root on your android phone with the new MIUI layout (5.11.16 or so):
Code:
# parted /dev/block/mmcblk0 print
and share the output?

If you do not have the parted binary, I can upload it somewhere for you.

I have Micha's "unified single" layout and it looks like that:
Code:
# parted /dev/block/mmcblk0 print                             
Model: MMC SEM32G (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      17.4kB  178MB  178MB  fat16        modem
2      178MB  178MB  1024B
3      178MB  179MB  524kB                sbl1
4      179MB  179MB  524kB                sbl2
5      179MB  180MB  1049kB              sbl3
6      180MB  181MB  1049kB              rpm
7      181MB  182MB  1049kB              tz
8      182MB  183MB  524kB                DDR
9      183MB  187MB  4194kB              aboot
10      187MB  188MB  1049kB              misc
11      188MB  191MB  2990kB              logo
12      191MB  192MB  799kB                m9kefs1
13      192MB  193MB  799kB                m9kefs2
14      193MB  193MB  1024B                m9kefsc
15      193MB  201MB  8501kB              bk1
16      201MB  202MB  799kB                m9kefs3
17      202MB  268MB  66.3MB              bk2
18      268MB  300MB  31.5MB              boot
19      300MB  300MB  1024B
20      300MB  316MB  15.7MB              recovery
21      316MB  327MB  11.5MB              bk3
22      327MB  336MB  8389kB  ext4        persist
23      336MB  1409MB  1074MB  ext4        system
24      1409MB  1409MB  1024B
25      1409MB  1812MB  403MB  ext4        cache
26      1812MB  31.3GB  29.5GB  ext4        userdata
I looked at the ZIP files from Russian forum (which someone re-uploaded to Mega) and the update script seems to do pretty much the same, the only difference that p24 is also formatted and named and that p23 and p24 differ in size a bit.
So I would be interested how does the new partition layout of MIUI 5.11.16 and newer actually looks like.

https://drive.google.com/file/d/0B-Xf_fQbXCw4djVEQmJDZy1Rc3M/view?usp=docslist_api