[MOD][NABI2] 4 Way Reboot Menu Nabi2 JB 4.1 - Fuhu Nabi 2

[FONT=&quot]4 - Way Reboot Menu for Nabi2 JB 4.1[/FONT]​[FONT=&quot]Haven't seen a lot of development for the Nabi2 as much as we had before and got the idea from my my Galaxy Phones. This is the extended Reboot Menu only and not the "Power Menu". I do not recommend flashing to Custom Roms as the ROMs may contain special permissions/policies ( if added ) that the Rom Developer may have implemented or even may be require so the Custom Rom may run or function properly. [/FONT][FONT=&quot]
[/FONT][FONT=&quot]Knowing there may not be any for the Nabi2 ATM, I guess we are safe from this LOL. [/FONT]​
​[FONT=&quot]The Extended Reboot Menu Includes:[/FONT]​​[FONT=&quot]REBOOT[/FONT][FONT=&quot]
[/FONT][FONT=&quot]( Normal Complete Reboot)[/FONT]
[FONT=&quot]HOT BOOT[/FONT][FONT=&quot]
[/FONT][FONT=&quot]( Quick Reboot for restarting the Android Shell only )[/FONT]
[FONT=&quot]DOWNLOAD ( Not Working Correctly, will look into this one. Will also be renamed to BOOTLOADER )[/FONT][FONT=&quot]
[/FONT][FONT=&quot](Bootload Mode)[/FONT]
[FONT=&quot]RECOVERY[/FONT][FONT=&quot]
[/FONT][FONT=&quot]( Restarts phone in your Recovery )
[/FONT][FONT=&quot]SHUT DOWN[/FONT][FONT=&quot]
( Turns the Tablet Off )[/FONT]​[FONT=&quot]
​[/FONT]​[FONT=&quot]===================================================================[/FONT][FONT=&quot]
[/FONT][FONT=&quot]DISCLAIMER:[/FONT]
===================================================================​===================================================================
[FONT=&quot]By YOU, the USER, flashing this file or manually pasting to modify your Android System, YOU understand and know what YOU are doing. I nor anyone will be held liable nor responsible for YOUR doing if your phone bricks. As always, as is suggested by many and myself, please make sure you perform a complete[/FONT]
[FONT=&quot]NANDROID BACKUP[/FONT]
[FONT=&quot]before flashing and/or modifying your OS or the mentioned stock .jar file. I also suggest YOU keep a separate copy of the stock .jar file handy, like in your External SDcard, if the phone decides not to boot up. Knowing this, YOU assume all responsibility for what happens as YOU, the USER, know and comprehend what YOU are doing and understand the consequences or severity of damages that can be brought to your [/FONT][FONT=&quot]
[/FONT][FONT=&quot]device by flashing or modifying your OS incorrectly. [/FONT]
[FONT=&quot]You[/FONT][FONT=&quot] Have Been Warned !![/FONT][FONT=&quot]
[/FONT][FONT=&quot]===================================================================[/FONT]​[FONT=&quot]
[/FONT]​[FONT=&quot]What's Needed / Recommended:[/FONT]​​[FONT=&quot]Rooted Device [/FONT][FONT=&quot]( to extract the needed files Manually for backup )[/FONT][FONT=&quot]
Custom Recovery ( TWRP for Flashing the ZIP and/or using the File Manager )
If you can do it via ADB Commands then all power to you.....[/FONT]
[FONT=&quot]I provided [/FONT][FONT=&quot]BOTH[/FONT][FONT=&quot] , the stock NABI2 [/FONT][FONT=&quot]( Stock NABI2 JAR )[/FONT][FONT=&quot] and modded NABI2 .jar [/FONT][FONT=&quot]( android.policy.jar )[/FONT][FONT=&quot] files and the flashable zip [/FONT][FONT=&quot]( Nabi2_4wayboot.zip )[/FONT][FONT=&quot] below. If the flashable ZIP does not work for you let me know please. [/FONT]​
​[FONT=&quot]What To Do:[/FONT]​[FONT=&quot]
You have two choices on installing the .jar file. You can either Flash the ZIP in TWRP or manually copy & paste or push the .jar file to system/framework/. If you decide to do this manually, you will then need to set the file permissions to the modified android.policy.jar file to 0644. You can rename the stock .jar file with " .bak " at the end so you don't have to delete it from the framework folder if you so choose. Now using TWRP I was not able to automatically get the File Explorer to work properly but I did flash the Aroma File Manage in recover. It load up although the button presses and screen were off but I managed to copy and paste and set permissions to the file.
[/FONT]
[FONT=&quot]The flashable zip may give you an SELinux Error but it will flash correctly.
[/FONT]
​[FONT=&quot]
Words of caution.....[/FONT]​[FONT=&quot]if you attempt to do this manually and are still actively booted in your Android OS while modifying or deleting the .jar file, there is the highest probability that your tablet will immediately reboot and you will not be able to boot up the OS again and remain stuck on the Nabi boot screen as the android.policy.jar is no longer visible to your OS. This is why you need to do this before booting up like in recovery.
[/FONT]
​[FONT=&quot]===================================================================[/FONT]​ [FONT=&quot]
Thanks and credits go out to :
[/FONT]​[FONT=&quot]
@[/FONT][FONT=&quot]tdunham[/FONT][FONT=&quot]
@[/FONT][FONT=&quot]CNexus[/FONT][FONT=&quot]
@kahvitahra
for the information gathered on the How-Too's and the files needed for this MOD. If I missed someone please PM me or let me know.....
[/FONT]​
[FONT=&quot]
Enjoy!
[/FONT]​

looks like a handy mod ... I haven't had a chance to try it out but I will .
thanks for making it .

I know this is old but thanks for this. Going to give it a go on my kids Nabi this week.

Hippie459MN said:
I know this is old but thanks for this. Going to give it a go on my kids Nabi this week.
Click to expand...
Click to collapse
Your Welcome. If you do upgrade the Nabi 2 up to 4.4.2. KitKat, here is the thread for that one.

DarkAngel said:
Your Welcome. If you do upgrade the Nabi 2 up to 4.4.2. KitKat, here is the thread for that one.
Click to expand...
Click to collapse
:good:

Related

[Q] How to close the update.zip file the right way

Hi everyone,
I want to eventually create an edited ROM for an Android tablet. (Very simple stuff, really. Removing apks, adding build.prop mods)
I have a working update.zip file, which re-installs the image on the tablet, through stock recovery and the install from sdcard option.
But once I unzip it,
and then zip and even re-sign it (with the tool I found by searching the forum),
the recovery says 'installation aborted', when it is verifying the package.
1. How can I avoid this from happening? I get it that closing the update.zip is done wrong. How can I pass the verification section?
2. It IS possible to push such a .zip through stock recovery, right? I want to avoid CWM and TWRP and make it as simple as possible.
Thanks.
Have you tried making the changes without the unzip-rezip step? Editing the zip contents directly inside the zip (just drag n drop, delete, etc).
dxppxd said:
Have you tried making the changes without the unzip-rezip step? Editing the zip contents directly inside the zip (just drag n drop, delete, etc).
Click to expand...
Click to collapse
I tried this, too.
I only deleted one apk from system/app and later I tried again by deleting the apk and its odex file, too.
In both cases, instead of rejecting the update instanlty, it starts the process and then stops after a few seconds.
IS it possible that there is a filesize checker text inside the image?
(or maybe a propery inside the build.prop or updater-script ?)
Any ideas, anyone?
Still no progress.
I am trying to avoid custom recovery,
(I guess that would involve re-compiling it - which I do not know how to do - or ... just asking so from someone?)
is it possible to push the update.zip through stock recovery?
iraklisvel said:
Still no progress.
I am trying to avoid custom recovery,
(I guess that would involve re-compiling it - which I do not know how to do - or ... just asking so from someone?)
is it possible to push the update.zip through stock recovery?
Click to expand...
Click to collapse
No
Stock recovery doesn't flash custom roms
Get cwm from builder.recovery.com
Press thanks :good: I'd helped :highfive:

[Q] Cube U27GT - Help with Rooting a Stock Rom and can we get a forum?

Dear Admins,
Could we get a forum setup for the Cube U27GT WiFi version? I dug around on the site a bit beforehand but didn't see one, I apologize if I missed it and please direct me there if I did.
I have this tablet and I am doing some initial basic firmware development for it and want a proper place to start putting threads.
Dear Dev Community,
I can't root this bloody thing... At least, not the rom itself. Let me explain...
I can flash the stock rom from Cube and that can be rooted using Kango Root. --Fine...
However, I can't figure out how to replicate this when I make my own rom.
Thus far, here is what I have attempted...
1. Setup dsixda's excellent kitchen on my Ubuntu workstation.
2. Unpack the rom, clean things up, manually put the boot image into the dsixda unpacked working rom folder, run dsixda's root functionality (which add SU binary to xbin and SuperSu apk file to app folder as well as do some things with the boot image file).
3. Rather than using repack with Dsixda (which makes an update.zip image which I can't use because the stock recovery environment on this device can't flash zip update files and I can't for the life of me figure out how to get and or make a working CWM or TWRP recovery image for this unit)...
4. What I do is I run commands in linux to unpack the stock rom to another directory and mount that directory, then clear out a bunch of folders and then manually copy in my files from dsixda's working folder, then repackage up my unpacked stock rom into a new system.img file.
5. Then copy my now modified boot image, system image, and also userdata image (I modify that as well as that is where most all of the chinese bloatware is loaded from) to my SP_Flash_Tool, generate new checksum.ini file and flash normally...
What I get as a result...
1. As long as I am really careful with how I copy files into my new image, the new system flashes okay (if I am not careful, after flash USB storage for some reason has a format error and the system will boot but can't mount USB storage and other odd issues ensue as a result).
2. Assuming everything flashes okay, and no issue with USB storage partition, I have SuperSU installed and when I go to use an app (ES File Explorer or Root Checker) that require's root, I do get the prompt. However none of the root functions actually work and Root Checker tells me I am not rooted.
That is as far as I have got. So as a result, I have a really nice, westernized, cleaned up rom but with no root.
Anyone have any ideas?
This is my first adventure into mod'ing MTK roms so I am sure I am doing all kinds of things wrong . I had a good bit of experience on Rockchip SoC's before this though.
Kind regards and thanks in advance!
Roman
Figured it out!
So I finally did the following rather hackish work-around...
1. Flash stock firmware...
2. Root with Kingo Root
3. Enabled ADB
4. Attach to PC and fire up MTK Droid Tools
5. Take a full backup
6. Modify the system image from the backup and make changes
7. Put that in new firmware flash package
8. Flash new firmware
YAY - Cleaned up rom, modified, with root!
Once I get it all packaged up and uploaded to mtkfirmware.com I will post a link for anyone that wants a cleaned up rom with root!
The only downfall of the above method is that it absolutely requires that the developer have a device on hand because you can't just root the stock image file (at least, I couldn't figure out how... - bleh...
Kind Regards,
Roman
Dear roman,
Thanks for your hard work.
I have a simple question (I think) and if you have the time to reply or -any other android guru- I would be thankful.
My later issue was with a U27GT cube tablet, but I have others, one for each kid, and this is more of general question.
I am reading this and other forums about how to flash tablets from PC. My question is:
Can the flashing process be done from a SD card?
Thanks a lot and regards,
Fernando
SKorea

[MOD][NABI2] 4 Way Reboot Menu Nabi2 KK 4.4

[FONT=&quot]4 - Way Reboot Menu for Nabi2 KK 4.4 ( De-Odexed )[/FONT]​[FONT=&quot]Well it's that time again after getting a needed update for our tablets. This is the extended Reboot Menu only and not a "Power Menu". I do not recommend flashing to Custom Roms as the ROMs may contain special permissions/policies ( if added ) that the Rom Developer may have implemented or even may be require so the Custom Rom may run or function properly. None are known [/FONT][FONT=&quot]for the Nabi2 ATM so I guess we are safe LOL. [/FONT]​​ Unlike the previous version that went through the Power Button menu, this one has a dedicated Reboot Button eliminating the extra
"Power Off "at the bottom of the Reboot Menu going through the Power Button menu.
​
[FONT=&quot]The Extended Reboot Menu Includes:[/FONT]​
[FONT=&quot]REBOOT[/FONT]
[FONT=&quot]( Normal Complete Reboot after Shutdown )[/FONT]
[FONT=&quot][FONT=&quot]SOFT RE[/FONT]BOOT[/FONT]
[FONT=&quot]( Quick Reboot for restarting the Android Shell only, No Shutdown )[/FONT]
[FONT=&quot]BOOTLOADER[/FONT]
[FONT=&quot]([FONT=&quot] Bootloader [/FONT]Mode / Fastboot Mo[FONT=&quot]de [/FONT])[/FONT]
Working after it's plugged in to Computer via USB Cord ( see post#2 for Youtube link )
[FONT=&quot]RECOVERY[/FONT]
[FONT=&quot]( Restarts[FONT=&quot] t[/FONT]ablet [FONT=&quot]strai[FONT=&quot]gh[FONT=&quot]t to[/FONT][/FONT][/FONT] Recove[FONT=&quot]r[/FONT]y after Shutdown )[/FONT]​
=========================================================================================================​
=========================================
=========================================================
[FONT=&quot]===================================================================[/FONT]
[FONT=&quot]DISCLAIMER:[/FONT]
===================================================================
===============================================
=========================================
[FONT=&quot]By YOU, the USER, flashing this file or manually pasting to modify your Android System, YOU understand and know what YOU are [/FONT]
[FONT=&quot]doing. I nor [/FONT][FONT=&quot]anyone will be held liable nor responsible for YOUR doing if your phone bricks. As always, as is suggested by many and [/FONT]
[FONT=&quot]myself, please make [/FONT][FONT=&quot]sure you perform a complete[/FONT]
[FONT=&quot]NANDROID BACKUP[/FONT]
[FONT=&quot]before flashing and/or modifying your OS or the mentioned stock .jar file. I also suggest YOU keep a separate copy of the stock .jar file [/FONT]
[FONT=&quot]handy, [/FONT][FONT=&quot]like in your External SDcard, if the phone decides not to boot up. Knowing this, YOU assume all responsibility for what happens [/FONT]
[FONT=&quot]as YOU, the USER, know and comprehend what YOU are doing and understand the consequences or severity of damages that can be [/FONT]
[FONT=&quot]brought to your [/FONT][FONT=&quot]device by flashing or modifying your OS incorrectly. [/FONT]
[FONT=&quot]YOU[/FONT][FONT=&quot] Have Been Warned !![/FONT]
=========================================================================================================​
[FONT=&quot]What's Needed / Recommended:[/FONT]​
[FONT=&quot]Rooted Device [/FONT][FONT=&quot]( to extract the needed files Manually for backup )[/FONT]
[FONT=&quot]Custom Recovery ( TWRP for Flashing the ZIP and/or using the File Manager or a Custom Aroma File Manager)[/FONT]
[FONT=&quot]If you can do it via ADB Commands then all power to you.....[/FONT]
[FONT=&quot]I provided [/FONT][FONT=&quot]BOTH[/FONT][FONT=&quot] , the stock NABI2 [/FONT][FONT=&quot]( Stock NABI2 KK jar )[/FONT][FONT=&quot] and modded NABI2 .jar [/FONT][FONT=&quot]( android.policy.jar )[/FONT][FONT=&quot] files and [/FONT]
[FONT=&quot]will make a flashable zip [/FONT][FONT=&quot]( coming soon )[/FONT][FONT=&quot] below[/FONT]
​
[FONT=&quot]What To Do:[/FONT]
[FONT=&quot]You have two choices on installing the .jar file. You can either Flash the ZIP in TWRP ( which at the moment is not available ) or manually copy & paste or push the .jar file to system/framework/. If you decide to do this manually, you will then need to set the file permissions to the modified android.policy.jar file to 0644. Before manually pasting the file in the framework folder, you can rename the stock android.policy.jar file with " .bak " ( ex. android.policy.jar.bak ) at the end so you don't have to delete it from the framework folder if you so choose. Now using TWRP you can either use the built in File Manager and set permissions via the terminal with chmod commands or Install/Flash the Aroma File Manager in recovery to use like a simple File manager where you can hold down on the file to get a popup window to copy/paste or set permissions manually.[/FONT]
​
======================================================================================​
[FONT=&quot]Words of caution.....[/FONT]
[FONT=&quot]if you attempt to do this manually and are still actively booted in your Android OS while modifying or deleting the .jar file, there is the highest probability that your tablet will immediately reboot and you will not be able to boot up the OS again and remain stuck on the Nabi boot screen as the android.policy.jar is no longer visible to your OS. This is why you need to do this before booting up like in recovery.[/FONT]​
======================================================================================​
[FONT=&quot]Thanks and credits go out to :[/FONT][FONT=&quot]@[/FONT]tdunham
[FONT=&quot]@[/FONT]CNexus
[FONT=&quot]@kahvitahra[/FONT]
[FONT=&quot]for the knowledge gained over the years and information gathered on the How-Too's and the files needed for this MOD. If I missed someone please PM me or let me know.....[/FONT]
​[FONT=&quot]Enjoy! [/FONT]
Change Log
Android Policy v1:​1. Unlike last from JB, this KK Reboot Menu has it's own button instead of going through the Power Button.
2. Problem with Bootloader Button not working, not going into Bootloader.​Android Policy v2 ( 02/28/15 ): ​1. Reboot Menu has it's own button instead of going through the Power Button as before.
2. Soft Reboot ( Quick Reboot ) using smali command of "setprop stl.restart zygote" instead of "pkill -term -f system_server" for those
that do not want to or honestly need to install BusyBox to simlink pkill if not already done so. Change will not affect anything.
3. Some more smali edits to try and get Bootloader button working. Forum member n3wt discovered when attempting to go into Bootloader mode,
after reboot and staying stuck at the nabi boot logo screen, plugging in the USB cord while USB connected to computer would then switch the
Nabi to Fastboot Mode. --- link to youtube video bellow.
http://youtu.be/Qo9ShihfCqY​
Any problems ...... let me know.
.
Thanks. I get error flashing zip from TWRP. I copied the jar to /system/framework and set perms to 644 but I don't see the new options even after reboot. Also the attachment says v1. Where is v2?
If you are saying its not available from the power button how do you get to the menu?
lev777 said:
Thanks. I get error flashing zip from TWRP. I copied the jar to /system/framework and set perms to 644 but I don't see the new options even after reboot. Also the attachment says v1. Where is v2?
If you are saying its not available from the power button how do you get to the menu?
Click to expand...
Click to collapse
Sorry for not responding right away, notification was not set. The zip is not a flashable. I never got around to making one. Better one knows where it's going and one backs up their original before attempting.
You get the reboot option when pressing on "Reboot". Normally, the Nabi2 stock jar does not come with a reboot option which is what I added.

Flashing Issues | Will not pass Android Logo on XtreStolite ROM

Flashing Issues | Will not pass Android Logo
I have have the T-Mobile version of the S5 and it is currently running XtreStolite rom on lollipop. I have been messing around with the SystemUI and framework apks. (getting them to work every now and again)
However, I was searching around and tried to push the apk files through adb at first, instead of a complete reflash with the modified apks inside, with no luck. Adb says that the files were successfully sent but are not there and no changes are made. I then stumbled across a method using a flashable zip that is supposed to just replace the files I need.
I n doing so, after reboot the phone just sits at the Android Logo on powerup, them I have to reflash or restore my recovery. My question is this: Is there a method that allows me to setup a flashable zip with the system/priv-app/systemui/systemui.apk so that it will only replace those files and not the whole system folder itself?
There may be some more information that I am leaving out, sorry I have not slept all night and I am about to go to class.
Thanks in advance, if I have posted incorrectly, please advise.
RockyCaballero said:
I have have the T-Mobile version of the S5 and it is currently running XtreStolite rom on lollipop. I have been messing around with the SystemUI and framework apks. (getting them to work every now and again)
However, I was searching around and tried to push the apk files through adb at first, instead of a complete reflash with the modified apks inside, with no luck. Adb says that the files were successfully sent but are not there and no changes are made. I then stumbled across a method using a flashable zip that is supposed to just replace the files I need.
I n doing so, after reboot the phone just sits at the Android Logo on powerup, them I have to reflash or restore my recovery. My question is this: Is there a method that allows me to setup a flashable zip with the system/priv-app/systemui/systemui.apk so that it will only replace those files and not the whole system folder itself?
There may be some more information that I am leaving out, sorry I have not slept all night and I am about to go to class.
Thanks in advance, if I have posted incorrectly, please advise.
Click to expand...
Click to collapse
Here download this https://www.androidfilehost.com/?fid=24052804347782219
Extract and Add whatever directories/folders you want inside the system folder and flash. The script just extracts the system folder as a whole so as long as you make the correct folders, file names, directories etc it'll flash everything to the right spot.
Delete the jar file out of system/framework/ tho since it's a 5.1.1 jar file I did
Much obliged sir, worked perfectly. I'm sure it was the coding. [emoji2]

Guide for Updating RUI2 via TWRP

this is a guide for some user running stock Realme UI 2 on rooted device. while stock recovery wont work after unlocking bootloader and magisk installed (UPDATE: apparently stock recovery are working but you have to wait around 30minutes in order to boot into it). the only option for us is using custom recovery. but custom recovery wont recognize the updates because it's unusual format and its unusual location. Be careful!! I'm not responsible for any damage you may encounter doing this guide. I will try to help as far as I could do
(this guide are documentation from rui2.0 c.09 to c.15 update. where rui1.0 to rui2.0 upgrade im using stock recovery )
first of all, we need to download updates from ota server. simply enter Settings app, scroll down and select Software update. wait untill finished, you'll be prompted to install when it's done. but don't have to do that, it only reboot to recovery doing nothing.
now preparing the updates.
the downloaded files are located inside
Code:
/data/ota_package/OTA/.otaPackage
there are 6 files (may vary) and all of them are flashable zips except system_vendor that needs slight modification. copy or move those files to internal or external storage (i personally put those files on /sdcard/updates/). then add .zip extension by renaming (put ".zip" in the end of file name).
modifying system_vendor.zip
extract system_vendor into separate folder. after that, navigate to META-INF/com/google/android/ now edit updater-script replace RMX2151L1 (or similar) with RMX2151 to avoid installation errors. on TWRP, this phone is only recognized as RMX2151 regardless it's actual phone model ( it needs confirmation from other realme 7 users ).
now back to system_vendor folder and replace vbmeta.img file with vbmeta from attachment. after doing all steps simply repack all files and folder into zip with normal compression parameter. (you don't have to replace vbmeta file, but you have to flash modified vbmeta after that to avoid bootloop)
all files are ready to flash using TWRP (or your own preferred custom recovery). flashing this zip might replace bootloader with stock so flashing Magisk are preferred or you'll lose root access.
the intention of making this thread are opening discussion about realme updates. maybe someone out there could make all those steps simpler and easy enough

Categories

Resources